Interface IFreezeSelector
- All Known Implementing Classes:
AllFreezeSelector,FreezeEvaluator,NoFreezeSelector,VarFreezeSelector,VariableValueCopier.SourceBasedFreezeProvider
public interface IFreezeSelector
Determines whether a decision variable shall be frozen.
- Author:
- Holger Eichelberger
-
Method Summary
Modifier and TypeMethodDescriptionbooleanshallFreeze(IDecisionVariable variable) Returns whethervariableshall be frozen.default booleanWhether while freezing the selected variables also their annotations shall be frozen.
-
Method Details
-
shallFreeze
Returns whethervariableshall be frozen.- Parameters:
variable- the variable to be tested- Returns:
trueifvariableshall be frozen,falseelse
-
shallFreezeAnnotations
default boolean shallFreezeAnnotations()Whether while freezing the selected variables also their annotations shall be frozen.- Returns:
truefor freezing annotations,falseelse
-