|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectttsolver.Test
public class Test
A main class for running of the solver from command line.
Usage:
java -cp ifs.jar;ttsolver.jar;log4j.jar;dom4j.jar ttsolver.Test test.properties
| Constructor Summary | |
|---|---|
Test(String[] args)
|
|
| Method Summary | |
|---|---|
void |
bestCleared(Solution solution)
Called by the solution when method Solution.clearBest() is called. |
void |
bestRestored(Solution solution)
Called by the solution when method Solution.restoreBest() is called. |
void |
bestSaved(Solution solution)
Called by the solution when method Solution.saveBest() is called. |
void |
getInfo(Solution solution,
Dictionary info)
Called by the solution when it is asked to produce info table, see Solution.getInfo(). |
void |
init(Solver solver)
|
static void |
main(String[] args)
|
void |
notify(Solution solution)
|
void |
solutionUpdated(Solution solution)
Called by the solution when it is updated, see Solution.update(double). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Test(String[] args)
| Method Detail |
|---|
public void init(Solver solver)
public static void main(String[] args)
public void bestCleared(Solution solution)
SolutionListenerSolution.clearBest() is called.
bestCleared in interface SolutionListenersolution - source solutionpublic void bestRestored(Solution solution)
SolutionListenerSolution.restoreBest() is called.
bestRestored in interface SolutionListenersolution - source solutionpublic void bestSaved(Solution solution)
SolutionListenerSolution.saveBest() is called.
bestSaved in interface SolutionListenersolution - source solution
public void getInfo(Solution solution,
Dictionary info)
SolutionListenerSolution.getInfo().
A listener can also add some its info into this table.
getInfo in interface SolutionListenersolution - source solutioninfo - produced info tablepublic void solutionUpdated(Solution solution)
SolutionListenerSolution.update(double).
solutionUpdated in interface SolutionListenersolution - source solutionpublic void notify(Solution solution)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||