Uses of Class
xal.extension.solver.Variable
Packages that use Variable
Package
Description
-
Uses of Variable in xal.extension.jels.matcher
Methods in xal.extension.jels.matcher that return VariableModifier and TypeMethodDescriptionInitialBeamParameters.getAx()InitialBeamParameters.getAy()InitialBeamParameters.getAz()InitialBeamParameters.getBx()InitialBeamParameters.getBy()InitialBeamParameters.getBz()Methods in xal.extension.jels.matcher that return types with arguments of type Variable -
Uses of Variable in xal.extension.solver
Fields in xal.extension.solver with type parameters of type VariableModifier and TypeFieldDescriptionProblem.valueRefsA table of reference values keyed by variableTrialPoint.valuesA table of trial values keyed by variableProblem.variablesThe variables which identify the controls for optimizing the solution.Methods in xal.extension.solver that return VariableModifier and TypeMethodDescriptionVariable.copyWithInitialValue(double initialValue) Copy this variable but substitute the specified initial value for this variable's initial value.Methods in xal.extension.solver that return types with arguments of type VariableModifier and TypeMethodDescriptionTrialPoint.getValueMap()Get the map of variable/value pairs.Problem.getVariables()Get the list of variables.Methods in xal.extension.solver with parameters of type VariableModifier and TypeMethodDescriptionvoidProblem.addVariable(Variable variable) Adds a Variable object to variableList.doubleGet the value corresponding to the specified variable.Problem.getValueReference(Variable variable) Get the value reference which is mapped to a variable.voidSet the value to associate with the variable.Method parameters in xal.extension.solver with type arguments of type VariableModifier and TypeMethodDescriptionstatic ProblemProblemFactory.getAcceleratingProblem(List<Variable> variables, Scorer scorer, double minScore, double maxScore, double endSlope) Generate a problem which uses an accelerating satisfaction curve over the specified score rangestatic ProblemProblemFactory.getDeceleratingProblem(List<Variable> variables, Scorer scorer, double minScore, double maxScore, double startSlope) Generate a problem which uses a decelerating satisfaction curve over the specified score rangestatic ProblemProblemFactory.getInverseSquareMaximizerProblem(List<Variable> variables, Scorer scorer, double tolerance) Generate a problem which seeks to maximize the score which is in a range of zero to infinitystatic ProblemProblemFactory.getInverseSquareMinimizerProblem(List<Variable> variables, Scorer scorer, double tolerance) Generate a problem which seeks to minimize the score which is in a range of zero to infinitystatic ProblemProblemFactory.getLinearMaximizerProblem(List<Variable> variables, Scorer scorer, double minScore, double maxScore) Generate a problem which uses a linear rising satisfaction curve over the specified score rangestatic ProblemProblemFactory.getLinearMinimizerProblem(List<Variable> variables, Scorer scorer, double minScore, double maxScore) Generate a problem which uses a linear falling satisfaction curve over the specified score rangestatic ProblemProblemFactory.getSCurveProblem(List<Variable> variables, Scorer scorer, double slope) Generate a problem which uses an S-curve satisfaction curve over the range of negative infinity to positive infinity with center at zerostatic ProblemProblemFactory.getSCurveProblem(List<Variable> variables, Scorer scorer, double center, double slope) Generate a problem which uses an S-curve satisfaction curve over the range of negative infinity to positive infinitydoubleScore the trial.voidProblem.setVariables(List<Variable> variables) Set the variables.Constructor parameters in xal.extension.solver with type arguments of type VariableModifierConstructorDescriptionMutableTrialPoint(Map<Variable, Number> values) Primary Constructor.TrialPoint(Map<Variable, Number> values) Primary constructor. -
Uses of Variable in xal.extension.solver.algorithm
Fields in xal.extension.solver.algorithm with type parameters of type VariableModifier and TypeFieldDescriptionRandomShrinkSearch.RandomSearcher.valuesMap of values keyed by variableRandomShrinkSearch.ShrinkSearcher.variableWindowsDescription of the FieldMethods in xal.extension.solver.algorithm with parameters of type VariableModifier and TypeMethodDescriptionxal.extension.solver.algorithm.VariableWindowRandomShrinkSearch.ShrinkSearcher.getSearchWindow(Variable variable) Get the variable's search window for the specified variable.protected doubleRandomShrinkSearch.ComboSearcher.proposeValue(Variable variable) Propose a new value for the variable by picking a search engine to propose a new value.protected doubleRandomShrinkSearch.RandomSearcher.proposeValue(Variable variable) Propose a new value for the variable by selecting a random value in the variable's search range.protected doubleRandomShrinkSearch.ShrinkSearcher.proposeValue(Variable variable) Propose a new value for the variable by selecting a random value from the variable's shrunken search space.Method parameters in xal.extension.solver.algorithm with type arguments of type VariableModifier and TypeMethodDescriptionprotected static TrialPointDirectedStep.trialPointAlongGradient(double[] gradient, TrialPoint originPoint, double scale, List<Variable> variables) Get a new trial point along the gradient. -
Uses of Variable in xal.extension.solver.hint
Fields in xal.extension.solver.hint with type parameters of type VariableModifier and TypeFieldDescriptionInitialDelta.variableDeltasdelta keyed by variableInitialDomain.variableDomainsMethods in xal.extension.solver.hint with parameters of type VariableModifier and TypeMethodDescriptionvoidExcursionHint.addAbsoluteMaxExcursion(Variable variable, double maxExcursion) add the absolute maximum excursion for a variablevoidExcursionHint.addFractionExcursion(Variable variable, double fraction) add fraction excursion range for the specified variablevoidInitialDomain.addFractionRange(Variable variable, double fraction) add the initial fraction range for the specified variablevoidInitialDelta.addInitialDelta(Variable variable, double delta) add the initial delta for the specified variablevoidadd the initial range for the specified variableabstract double[]Get the domain for the specified variable.double[]Get the domain for the specified variable and the current value.double[]Get the domain for the specified variable.double[]Get the domain for the specified variable.abstract booleanDomainHint.hasVariable(Variable variable) Determine if there is an entry for the variablebooleanExcursionHint.hasVariable(Variable variable) Determine if there is an entry for the variablebooleanInitialDelta.hasVariable(Variable variable) Determine if there is an entry for the variablebooleanInitialDomain.hasVariable(Variable variable) Determine if there is an entry for the variable