|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.sns.tools.solver.AlgorithmSchedule
Schedule keeps track of and executes the next algorithm based on its score. Schedule also sets a trial and a stopper.
| Field Summary | |
protected java.util.LinkedList |
algorithmRunStack
Deprecated. |
protected Evaluator |
evaluator
Deprecated. |
protected Problem |
problem
Deprecated. |
protected Stopper |
stopper
Deprecated. |
| Constructor Summary | |
AlgorithmSchedule(Problem aProblem,
Stopper aStopper)
Deprecated. Creates a new instance of Schedule |
|
| Method Summary | |
void |
evaluateNext()
Deprecated. Evaluate the next algorithm. |
void |
execute(Solver aSolver)
Deprecated. Execute a search. |
Trial |
newTrial()
Deprecated. Create a new trial. |
SearchAlgorithm |
nextAlgorithm()
Deprecated. Get the next algorithm to be run. |
void |
score(Trial aTrial)
Deprecated. Score the trial. |
TrialVeto |
validate(Trial aTrial)
Deprecated. Validate the trial. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Stopper stopper
protected java.util.LinkedList algorithmRunStack
protected Problem problem
protected Evaluator evaluator
| Constructor Detail |
public AlgorithmSchedule(Problem aProblem,
Stopper aStopper)
| Method Detail |
public Trial newTrial()
public SearchAlgorithm nextAlgorithm()
public void execute(Solver aSolver)
public void evaluateNext()
public TrialVeto validate(Trial aTrial)
aTrial - The trial to be validated.
public void score(Trial aTrial)
aTrial - The trial to be scored.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||