public interface AlgorithmScheduleListener
Modifier and Type | Method and Description |
---|---|
void |
strategyExecuted(AlgorithmSchedule schedule,
AlgorithmStrategy strategy,
ScoreBoard scoreBoard)
Handle an event where a new algorithm run stack has completed.
|
void |
strategyWillExecute(AlgorithmSchedule schedule,
AlgorithmStrategy strategy,
ScoreBoard scoreBoard)
Handle an event where a new algorithm run stack will start.
|
void |
trialScored(AlgorithmSchedule algorithmSchedule,
Trial trial)
Handle an event where a trial has been scored.
|
void |
trialVetoed(AlgorithmSchedule algorithmSchedule,
Trial trial)
Handle an event where a trial has been vetoed.
|
void trialScored(AlgorithmSchedule algorithmSchedule, Trial trial)
algorithmSchedule
- The algorithm schedule that holds the trial scored.trial
- The trial that was scored.void trialVetoed(AlgorithmSchedule algorithmSchedule, Trial trial)
algorithmSchedule
- The algorithm schedule that holds the trial vetoed.trial
- The trial that was vetoed.void strategyWillExecute(AlgorithmSchedule schedule, AlgorithmStrategy strategy, ScoreBoard scoreBoard)
schedule
- the schedule posting the eventstrategy
- the strategy which will executescoreBoard
- the scoreboardvoid strategyExecuted(AlgorithmSchedule schedule, AlgorithmStrategy strategy, ScoreBoard scoreBoard)
schedule
- the schedule posting the eventstrategy
- the strategy that has executedscoreBoard
- the scoreboard