Interface IntValueSelector
-
- All Known Implementing Classes:
IntDomainBest,IntDomainImpact,IntDomainLast,IntDomainMax,IntDomainMedian,IntDomainMiddle,IntDomainMin,IntDomainRandom,IntDomainRandomBound
public interface IntValueSelectorA value selector specifies which value should be chosen to constrain the given variable. The value chosen must belong to the domain of the selected variable.- Since:
- 28 sept. 2010
- Author:
- Charles Prud'homme
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intselectValue(IntVar var)Selects and returns the value to constrained chosen variable with.
-
-
-
Method Detail
-
selectValue
int selectValue(IntVar var)
Selects and returns the value to constrained chosen variable with. The chosen value must belong to the domain ofvariable.- Returns:
- the value, based on the domain of variable
-
-