Interface AlgorithmScheduleListener

All Known Implementing Classes:
AlgorithmMarket, AlgorithmPool, DirectedStep, InitialAlgorithm, RandomSearch, RandomShrinkSearch, ScoreBoard, SearchAlgorithm, SimplexSearchAlgorithm

public interface AlgorithmScheduleListener
The interface implemented by listeners of algorithm schedule events.
Author:
ky6, t6p
  • Method Details

    • trialScored

      void trialScored(AlgorithmSchedule algorithmSchedule, Trial trial)
      Handle an event where a trial has been scored.
      Parameters:
      algorithmSchedule - The algorithm schedule that holds the trial scored.
      trial - The trial that was scored.
    • trialVetoed

      void trialVetoed(AlgorithmSchedule algorithmSchedule, Trial trial)
      Handle an event where a trial has been vetoed.
      Parameters:
      algorithmSchedule - The algorithm schedule that holds the trial vetoed.
      trial - The trial that was vetoed.
    • algorithmRunWillExecute

      void algorithmRunWillExecute(AlgorithmSchedule schedule, SearchAlgorithm algorithm, ScoreBoard scoreBoard)
      Handle an event where a new algorithm run stack will start.
      Parameters:
      schedule - the schedule posting the event
      algorithm - the algorithm which will execute
      scoreBoard - the scoreboard
    • algorithmRunExecuted

      void algorithmRunExecuted(AlgorithmSchedule schedule, SearchAlgorithm algorithm, ScoreBoard scoreBoard)
      Handle an event where a new algorithm run stack has completed.
      Parameters:
      schedule - the schedule posting the event
      algorithm - the algorithm that has executed
      scoreBoard - the scoreboard