Uses of Interface
xal.extension.solver.Stopper
Packages that use Stopper
-
Uses of Stopper in xal.extension.fit
Methods in xal.extension.fit with parameters of type Stopper -
Uses of Stopper in xal.extension.jels.matcher
Classes in xal.extension.jels.matcher that implement Stopper -
Uses of Stopper in xal.extension.solver
Fields in xal.extension.solver declared as StopperModifier and TypeFieldDescriptionprotected Stopper
AlgorithmSchedule.stopper
determines when to stop the trialsMethods in xal.extension.solver that return StopperModifier and TypeMethodDescriptionstatic Stopper
SolveStopperFactory.andStopper
(Stopper stopper1, Stopper stopper2) Compound stopper which stops the solver if both stopper1 and stopper2 would stop it.static Stopper
SolveStopperFactory.flatOptimizationStopper
(int minRepeatSolutions) Get a stopper that stops after the specified number of repeat solutions is found.AlgorithmSchedule.getStopper()
Get the stopper.static Stopper
SolveStopperFactory.immediateStopper()
Stop the solver immediately.static Stopper
SolveStopperFactory.maxElapsedTimeStopper
(double maxSeconds) Get a stopper after a certain number of seconds.static Stopper
SolveStopperFactory.maxEvaluationsSatisfactionStopper
(int maxEvaluations, double satisfactionTarget) Stop the solver after the solver reaches max evaluations (or algorithm executions to avoid a possible hang).static Stopper
SolveStopperFactory.maxEvaluationsStopper
(int maxEvaluations) Stop the solver after the solver reaches max evaluations (or algorithm executions to avoid a possible hang).static Stopper
SolveStopperFactory.maxOptimalSolutionStopper
(int minOptimalSolutions) Get a stopper after the max number of optimal solutions is reached.static Stopper
SolveStopperFactory.minMaxTimeSatisfactionStopper
(double minSeconds, double maxSeconds, double satisfactionTarget) Get a stopper that runs between a minimum and maximum time and has a minimum satisfaction that all objectives must reach in order to stop short of the maximum time.static Stopper
SolveStopperFactory.minSatisfactionStopper
(double satisfactionTarget) Get a stopper that stops after the minimum satisfaction is achieved.static Stopper
Compound stopper which stops the solver if either stopper1 or stopper2 would stop it.static Stopper
SolveStopperFactory.orStoppers
(Stopper... stoppers) Compound stopper which stops the solver if any of the stoppers stop it.Methods in xal.extension.solver with parameters of type StopperModifier and TypeMethodDescriptionstatic Stopper
SolveStopperFactory.andStopper
(Stopper stopper1, Stopper stopper2) Compound stopper which stops the solver if both stopper1 and stopper2 would stop it.static Stopper
Compound stopper which stops the solver if either stopper1 or stopper2 would stop it.static Stopper
SolveStopperFactory.orStoppers
(Stopper... stoppers) Compound stopper which stops the solver if any of the stoppers stop it.void
AlgorithmSchedule.setStopper
(Stopper stopper) Assign a new stopper.void
Solver.setStopper
(Stopper stopper) Set the stopper.Constructors in xal.extension.solver with parameters of type StopperModifierConstructorDescriptionAlgorithmSchedule
(Solver solver, AlgorithmMarket market, Stopper stopper) Creates a new instance of Schedule.Solver
(SearchAlgorithm algorithm, Stopper stopper) Constructor using the specified stopper and only the specified algorithm.Solver
(SearchAlgorithm algorithm, Stopper stopper, SolutionJudge solutionJudge) Constructor using the specified stopper, solution judge and only the specified algorithm.Solver
(AlgorithmMarket market, Stopper stopper, SolutionJudge solutionJudge) Primary ConstructorConstructor using the default solution judge and the specified stopper.Solver
(Stopper stopper, SolutionJudge solutionJudge) Constructor using the specified stopper and solution judge.