|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Interface for classes that search for solutions.
| Method Summary | |
void |
newScore(java.lang.Object sender,
Solution solution)
Deprecated. Notifies the receiver of a new score event. |
void |
newTopSolution(TrialPoint oldPoint,
TrialPoint newPoint)
An event indicating that a new solution has been found which is better than the previous best solution according to the score given by the evaluator. |
TrialPoint |
nextTrialPoint()
Get the next trial point. |
void |
reset()
reset for searching from scratch; forget history |
| Method Detail |
public void reset()
public void newTopSolution(TrialPoint oldPoint,
TrialPoint newPoint)
oldPoint - The old best point.newPoint - The new best point.public TrialPoint nextTrialPoint()
public void newScore(java.lang.Object sender,
Solution solution)
sender - The object posting the event.solution - The solution posted.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||