Class InitialAlgorithm

java.lang.Object
xal.extension.solver.algorithm.SearchAlgorithm
xal.extension.solver.algorithm.InitialAlgorithm
All Implemented Interfaces:
AlgorithmScheduleListener, SolutionJudgeListener

public class InitialAlgorithm extends SearchAlgorithm
InitialAlgorithm
Since:
Sep 20, 2004
Author:
tap
  • Constructor Details

    • InitialAlgorithm

      public InitialAlgorithm(Problem problem)
      Constructor
  • Method Details

    • getLabel

      public String getLabel()
      Return the label for a search algorithm.
      Specified by:
      getLabel in class SearchAlgorithm
      Returns:
      a label for the algorithm
    • performRun

      public void performRun(AlgorithmSchedule schedule)
      Calculate the next few trial points.
      Specified by:
      performRun in class SearchAlgorithm
      Parameters:
      schedule - the schedule of runs
    • nextTrialPoint

      public TrialPoint nextTrialPoint()
      Return the next trial point.
      Returns:
      a new trial point
    • getMinEvaluationsPerRun

      public int getMinEvaluationsPerRun()
      Get the minimum number of evaluations per run. Subclasses may want to override this method.
      Overrides:
      getMinEvaluationsPerRun in class SearchAlgorithm
      Returns:
      the minimum number of evaluation per run.
    • getMaxEvaluationsPerRun

      public int getMaxEvaluationsPerRun()
      Get the maximum number of evaluations per run. Subclasses may want to override this method.
      Overrides:
      getMaxEvaluationsPerRun in class SearchAlgorithm
      Returns:
      the maximum number of evaluation per run.