Uses of Class
xal.extension.solver.Trial
Packages that use Trial
Package
Description
-
Uses of Trial in xal.extension.jels.matcher
Methods in xal.extension.jels.matcher with parameters of type Trial -
Uses of Trial in xal.extension.solver
Fields in xal.extension.solver declared as TrialMethods in xal.extension.solver that return TrialModifier and TypeMethodDescriptionProblem.evaluateInitialPoint()
Evaluate the initial point as specified by the initial values of the variablesAlgorithmSchedule.evaluateTrialPoint
(SearchAlgorithm searchAlgorithm, TrialPoint trialPoint) Evaluate the specified trial point or return null if the run has been terminated.ScoreBoard.getBestSolution()
Get the new solution.TrialVeto.getTrial()
Get the trial.Methods in xal.extension.solver with parameters of type TrialModifier and TypeMethodDescriptionvoid
Score the trial.boolean
Evaluate the trialvoid
AlgorithmPool.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Event indicating that a new optimal solution has been found.void
ScoreBoard.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Send a message that a new optimal solution has been found.void
Judge the specified trial.protected void
Judge the specified trial.void
ScoreBoardListener.newOptimalSolution
(ScoreBoard scoreboard, Trial trial) A new optimal solution has been founddouble
Score the trial.void
AlgorithmPool.trialScored
(AlgorithmSchedule algorithmSchedule, Trial trial) Send a message that a trial has been scored.void
AlgorithmScheduleListener.trialScored
(AlgorithmSchedule algorithmSchedule, Trial trial) Handle an event where a trial has been scored.void
ScoreBoard.trialScored
(AlgorithmSchedule algorithmSchedule, Trial trial) Send a message that a trial has been scored.void
ScoreBoardListener.trialScored
(ScoreBoard scoreboard, Trial trial) Indicates that a trial was scoredvoid
AlgorithmPool.trialVetoed
(AlgorithmSchedule algorithmSchedule, Trial trial) Send a message that a trial has been vetoed.void
AlgorithmScheduleListener.trialVetoed
(AlgorithmSchedule algorithmSchedule, Trial trial) Handle an event where a trial has been vetoed.void
ScoreBoard.trialVetoed
(AlgorithmSchedule algorithmSchedule, Trial trial) Send a message that a trial has been vetoed.void
ScoreBoardListener.trialVetoed
(ScoreBoard scoreboard, Trial trial) Indicates that a trial was vetoedprotected TrialVeto
Validate the trial.Method parameters in xal.extension.solver with type arguments of type TrialModifier and TypeMethodDescriptionvoid
AlgorithmPool.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Event indicating that a new optimal solution has been found.void
ScoreBoard.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Send a message that a new optimal solution has been found.Constructors in xal.extension.solver with parameters of type TrialModifierConstructorDescriptionTrialVeto
(Trial trial, Constraint constraint) Constructor.TrialVeto
(Trial trial, Constraint constraint, String reason) Primary Constructor.TrialVeto
(Trial trial, Constraint constraint, String reason, Object userInfo) Primary Constructor. -
Uses of Trial in xal.extension.solver.algorithm
Methods in xal.extension.solver.algorithm that return TrialModifier and TypeMethodDescriptionSearchAlgorithm.evaluateTrialPoint
(TrialPoint trialPoint) Evaluate the given trial point.protected Trial
DirectedStep.performAcceleratedSearch
(Trial originTrial) Perform an accelerated search.protected Trial
DirectedStep.performGradientAndLinearSearch
(Trial originTrial) Perform a gradient calculation followed by a linear search along the gradient.protected Trial
DirectedStep.searchAlongGradient
(double[] gradient, Trial originTrial) Search along the gradient from the origin point.Methods in xal.extension.solver.algorithm with parameters of type TrialModifier and TypeMethodDescriptionprotected double[]
DirectedStep.calculateGradient
(Trial originTrial) Calculate the gradient for the specified pointvoid
DirectedStep.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
RandomSearch.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
RandomShrinkSearch.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
SearchAlgorithm.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Send a message that a new optimal solution has been found.void
SimplexSearchAlgorithm.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Send a message that a new optimal solution has been found.protected Trial
DirectedStep.performAcceleratedSearch
(Trial originTrial) Perform an accelerated search.protected Trial
DirectedStep.performGradientAndLinearSearch
(Trial originTrial) Perform a gradient calculation followed by a linear search along the gradient.protected Trial
DirectedStep.searchAlongGradient
(double[] gradient, Trial originTrial) Search along the gradient from the origin point.void
DirectedStep.trialScored
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been scored.void
RandomSearch.trialScored
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been scored.void
RandomShrinkSearch.trialScored
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been scored.void
SearchAlgorithm.trialScored
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been scored.void
SimplexSearchAlgorithm.trialScored
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been scored.void
DirectedStep.trialVetoed
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been vetoed.void
RandomSearch.trialVetoed
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been vetoed.void
SearchAlgorithm.trialVetoed
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been vetoed.void
SimplexSearchAlgorithm.trialVetoed
(AlgorithmSchedule schedule, Trial trial) Handle a message that a trial has been vetoed.Method parameters in xal.extension.solver.algorithm with type arguments of type TrialModifier and TypeMethodDescriptionvoid
DirectedStep.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
RandomSearch.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
RandomShrinkSearch.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
SearchAlgorithm.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Send a message that a new optimal solution has been found.void
SimplexSearchAlgorithm.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Send a message that a new optimal solution has been found. -
Uses of Trial in xal.extension.solver.constraint
Methods in xal.extension.solver.constraint with parameters of type Trial -
Uses of Trial in xal.extension.solver.market
Methods in xal.extension.solver.market with parameters of type TrialModifier and TypeMethodDescriptionvoid
AlgorithmMarket.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Event indicating that a new optimal solution has been found.void
AlgorithmMarket.trialScored
(AlgorithmSchedule algorithmSchedule, Trial trial) Handle a message that a trial has been scored.void
AlgorithmMarket.trialVetoed
(AlgorithmSchedule algorithmSchedule, Trial trial) Handle a message that a trial has been vetoed.Method parameters in xal.extension.solver.market with type arguments of type TrialModifier and TypeMethodDescriptionvoid
AlgorithmMarket.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Event indicating that a new optimal solution has been found. -
Uses of Trial in xal.extension.solver.solutionjudge
Fields in xal.extension.solver.solutionjudge with type parameters of type TrialModifier and TypeFieldDescriptionParetoOptimalJudge.optimalSolutions
SatisfactionSumJudge.optimalSolutions
WorstObjectiveBiasedJudge.optimalSolutions
the current list of the most optimal solutionsMethods in xal.extension.solver.solutionjudge that return types with arguments of type TrialModifier and TypeMethodDescriptionParetoOptimalJudge.getOptimalSolutions()
Get the optimal solutions.SatisfactionSumJudge.getOptimalSolutions()
Get the optimal solutions.SolutionJudge.getOptimalSolutions()
Get the optimal solutions.WorstObjectiveBiasedJudge.getOptimalSolutions()
Get the optimal solutions.Methods in xal.extension.solver.solutionjudge with parameters of type TrialModifier and TypeMethodDescriptionvoid
SolutionJudgeListener.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.void
Judge the trial.void
Judge the trial.abstract void
Judge the trial.void
Judge the trial.Method parameters in xal.extension.solver.solutionjudge with type arguments of type TrialModifier and TypeMethodDescriptionvoid
SolutionJudgeListener.foundNewOptimalSolution
(SolutionJudge source, List<Trial> solutions, Trial solution) Handle a message that a new optimal solution has been found.