Class SolverThread

  extended by java.lang.Thread
      extended by
All Implemented Interfaces:

public class SolverThread
extends java.lang.Thread

The thread that invokes Planner to solve a planning problem. The only reason to have another thread to solve problems rather than using the main thread to do so is that, in some platforms, the command line parameters that are supposed to change the stack size work only for the threads other than the main thread.

Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Thread
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler
Field Summary
Fields inherited from class java.lang.Thread
Constructor Summary
SolverThread(TaskList tlIn, boolean findAllIn)
          To initialize this thread.
Method Summary
 void run()
          The function that is called when this thread is invoked.
Methods inherited from class java.lang.Thread
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public SolverThread(TaskList tlIn,
                    boolean findAllIn)
To initialize this thread.

tlIn - the task list to be achieved by this thread.
findAllIn - true if the thread is to return all the possible plans, false if the function is to return only the the first plan found.
Method Detail


public void run()
The function that is called when this thread is invoked.

Specified by:
run in interface java.lang.Runnable
run in class java.lang.Thread