Package xal.extension.solver.hint
Class ExcursionHint
java.lang.Object
xal.extension.solver.hint.Hint
xal.extension.solver.hint.ExcursionHint
ExcursionHint
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionEmpty ConstructorprotectedExcursionHint(xal.extension.solver.hint.VariableExcursionDomain defaultDomain) Primary Constructor -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAbsoluteMaxExcursion(Variable variable, double maxExcursion) add the absolute maximum excursion for a variablevoidaddFractionExcursion(Variable variable, double fraction) add fraction excursion range for the specified variablestatic ExcursionHintgetAbsoluteMaxExcursionHint(double maxExcursion) Get an excursion hint specifying a default maximum absolute excursion about the current value.static ExcursionHintgetFractionalExcursionHint(double fraction) Get an excursion hint specifying a default fractional excursion about the current value.double[]Get the domain for the specified variable and the current value.getType()Get the type identifier of this Hint which will be used to fetch this hint in a table of hints.booleanhasVariable(Variable variable) Determine if there is an entry for the variable
-
Field Details
-
TYPE
type identifier for this kind of hint- See Also:
-
-
Constructor Details
-
ExcursionHint
protected ExcursionHint(xal.extension.solver.hint.VariableExcursionDomain defaultDomain) Primary Constructor -
ExcursionHint
public ExcursionHint()Empty Constructor
-
-
Method Details
-
getFractionalExcursionHint
Get an excursion hint specifying a default fractional excursion about the current value. -
getAbsoluteMaxExcursionHint
Get an excursion hint specifying a default maximum absolute excursion about the current value. -
getType
Get the type identifier of this Hint which will be used to fetch this hint in a table of hints. -
hasVariable
Determine if there is an entry for the variable -
addAbsoluteMaxExcursion
add the absolute maximum excursion for a variable -
addFractionExcursion
add fraction excursion range for the specified variable -
getRange
Get the domain for the specified variable and the current value.
-