|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.optimization.SearchAlgorithm
Abstract super class for an optimization search algorithm.
| Field Summary | |
protected MessageCenter |
messageBoard
Deprecated. |
protected int |
numVariables
Deprecated. |
protected TrialMonitor |
trialProxy
Deprecated. |
protected java.util.Collection |
variables
Deprecated. |
| Constructor Summary | |
SearchAlgorithm(MessageCenter aMessageBoard)
Deprecated. Creates a new instance of SearchAlgorithm |
|
| Method Summary | |
void |
newScore(java.lang.Object sender,
Solution solution)
Deprecated. Notifies the receiver of a new score event. |
abstract void |
newTopSolution(java.lang.Object sender,
Solution solution)
Deprecated. 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. |
protected void |
registerEvents()
Deprecated. Register as a consumer and poster |
abstract void |
reset()
Deprecated. reset for searching from scratch; forget history |
abstract void |
solve()
Deprecated. begin searching for an optimal solution |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MessageCenter messageBoard
protected TrialMonitor trialProxy
protected java.util.Collection variables
protected int numVariables
| Constructor Detail |
public SearchAlgorithm(MessageCenter aMessageBoard)
| Method Detail |
protected void registerEvents()
public abstract void reset()
public abstract void solve()
public abstract void newTopSolution(java.lang.Object sender,
Solution solution)
newTopSolution in interface SolutionMonitorsender - The object that has posted this solution.solution - The best solution found so far.
public void newScore(java.lang.Object sender,
Solution solution)
newScore in interface gov.sns.tools.optimization.ScoreMonitorsender - 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 | |||||||||