|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.grogra.task.Solver de.grogra.task.SolverInOwnThread de.grogra.rgg.model.LocalSolver
public class LocalSolver
Constructor Summary | |
---|---|
LocalSolver(Workbench wb)
|
Method Summary | |
---|---|
void |
addQueuesTo(QueueCollection qc)
|
void |
clearQueues()
|
protected java.lang.Thread |
createThread()
Create the thread to use. |
void |
run()
|
protected void |
solveImpl(PartialTask task)
This method has to be implemented to perform the actual work. |
Methods inherited from class de.grogra.task.SolverInOwnThread |
---|
dispose, solve |
Methods inherited from class de.grogra.task.Solver |
---|
getCurrentPartialTask, getTask, initialize |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public LocalSolver(Workbench wb)
Method Detail |
---|
public void addQueuesTo(QueueCollection qc)
addQueuesTo
in interface QueueSolver
public void clearQueues()
clearQueues
in interface QueueSolver
protected java.lang.Thread createThread()
SolverInOwnThread
null
,
the solve
methods operates synchronously, i.e.,
it immediately solves the partial task.
createThread
in class SolverInOwnThread
null
in synchronous casepublic void run()
run
in interface java.lang.Runnable
run
in class SolverInOwnThread
protected void solveImpl(PartialTask task)
SolverInOwnThread
solveImpl
in class SolverInOwnThread
task
- task to solve
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |