public class SimplexSearchAlgorithm extends SearchAlgorithm
_eventProxy, _messageCenter, _problem| Constructor and Description |
|---|
SimplexSearchAlgorithm()
Empty constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
foundNewOptimalSolution(SolutionJudge source,
java.util.List<Trial> solutions,
Trial solution)
Send a message that a new optimal solution has been found.
|
java.lang.String |
getLabel()
Get the label for this search algorithm.
|
int |
getMaxEvaluationsPerRun()
Get the maximum number of evaluations per run.
|
int |
getMinEvaluationsPerRun()
Get the minimum number of evaluations per run.
|
int |
globalRating()
Get the rating for this algorithm which in an integer between 0 and 10 and
indicates how well this algorithm performs on global searches.
|
int |
localRating()
Get the rating for this algorithm which in an integer between 0 and 10 and
indicates how well this algorithm performs on local searches.
|
void |
performRun(AlgorithmRun algorithmRun)
Calculate the next few trial points.
|
void |
reset()
Reset this algorithm.
|
void |
setProblem(Problem problem)
Set the specified problem to solve.
|
void |
trialScored(AlgorithmSchedule schedule,
Trial trial)
Handle a message that a trial has been scored.
|
void |
trialVetoed(AlgorithmSchedule schedule,
Trial trial)
Handle a message that a trial has been vetoed.
|
addSearchAlgorithmListener, removeSearchAlgorithmListener, strategyExecuted, strategyWillExecutepublic void setProblem(Problem problem)
setProblem in class SearchAlgorithmproblem - the problem to solvepublic void reset()
reset in class SearchAlgorithmpublic java.lang.String getLabel()
getLabel in class SearchAlgorithmpublic void performRun(AlgorithmRun algorithmRun)
performRun in class SearchAlgorithmalgorithmRun - the algorithm run to perform the evaluationpublic int getMinEvaluationsPerRun()
getMinEvaluationsPerRun in class SearchAlgorithmpublic int getMaxEvaluationsPerRun()
getMaxEvaluationsPerRun in class SearchAlgorithmpublic int globalRating()
public int localRating()
public void trialScored(AlgorithmSchedule schedule, Trial trial)
trialScored in interface AlgorithmScheduleListenertrialScored in class SearchAlgorithmschedule - Description of the Parametertrial - Description of the Parameterpublic void trialVetoed(AlgorithmSchedule schedule, Trial trial)
trialVetoed in interface AlgorithmScheduleListenertrialVetoed in class SearchAlgorithmschedule - Description of the Parametertrial - Description of the Parameterpublic void foundNewOptimalSolution(SolutionJudge source, java.util.List<Trial> solutions, Trial solution)
foundNewOptimalSolution in interface SolutionJudgeListenerfoundNewOptimalSolution in class SearchAlgorithmsource - The source of the new optimal solution.solutions - The list of solutions.solution - The new optimal solution.