Package xal.extension.solver.hint
Class InitialDelta
java.lang.Object
xal.extension.solver.hint.Hint
xal.extension.solver.hint.DomainHint
xal.extension.solver.hint.InitialDelta
A hint that indicates a good initial search space about the initial variable
values.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected final doubledefault deltastatic final Stringdelta keyed by variableFields inherited from class xal.extension.solver.hint.DomainHint
LOWER_IND, UPPER_IND -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddInitialDelta(Variable variable, double delta) add the initial delta for the specified variabledouble[]Get the domain for the specified variable.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
- See Also:
-
variableDeltas
delta keyed by variable -
defaultDelta
protected final double defaultDeltadefault delta
-
-
Constructor Details
-
InitialDelta
public InitialDelta(double delta) Primary Constructor -
InitialDelta
public InitialDelta()Constructor
-
-
Method Details
-
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- Specified by:
hasVariablein classDomainHint
-
addInitialDelta
add the initial delta for the specified variable -
getRange
Get the domain for the specified variable.- Specified by:
getRangein classDomainHint
-