Interface RealValueSelector
-
- All Known Implementing Classes:
RealDomainMax
,RealDomainMiddle
,RealDomainMin
public interface RealValueSelector
A value selector specifies which value should be chosen to constrain the selected 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 double
selectValue(RealVar var)
Selects and returns the value to constrained chosen variable with.
-
-
-
Method Detail
-
selectValue
double selectValue(RealVar 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
-
-