|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectde.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 QueueSolverpublic void clearQueues()
clearQueues in interface QueueSolverprotected java.lang.Thread createThread()
SolverInOwnThreadnull,
the solve methods operates synchronously, i.e.,
it immediately solves the partial task.
createThread in class SolverInOwnThreadnull
in synchronous casepublic void run()
run in interface java.lang.Runnablerun in class SolverInOwnThreadprotected void solveImpl(PartialTask task)
SolverInOwnThread
solveImpl in class SolverInOwnThreadtask - task to solve
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||