Class SolverClient.SolverThread

java.lang.Object
java.lang.Thread
jmva.link.SolverClient.SolverThread
All Implemented Interfaces:
Runnable
Enclosing class:
SolverClient

protected class SolverClient.SolverThread extends Thread
Thread used to solve the model.
  • Constructor Details

    • SolverThread

      public SolverThread(SolverDispatcher solver, File model)
      Creates a solver thread
      Parameters:
      solver - reference to a SolverDispatcher object
      model - file to be opened
  • Method Details

    • run

      public void run()
      Starts SolverDispatcher
      Specified by:
      run in interface Runnable
      Overrides:
      run in class Thread
    • getInputException

      public InputDataException getInputException()
      Tells if an InputDataException was thrown
      Returns:
      thrown InputDataException or null if none was raised
    • getSolverException

      public SolverException getSolverException()
      Tells if a SolverException was thrown
      Returns:
      thrown SolverException or null if none was raised
    • getOutOfMemoryError

      public OutOfMemoryError getOutOfMemoryError()
      Tells if an OutOfMemory error was thrown
      Returns:
      thrown OutOfMemory or null if none was raised