Module org.chocosolver
Class RealDomainMax
- java.lang.Object
-
- org.chocosolver.solver.search.strategy.selectors.values.RealDomainMax
-
- All Implemented Interfaces:
RealValueSelector
public class RealDomainMax extends Object implements RealValueSelector
Selects the upper bound of a real variable- Since:
- 18/07/12
- Author:
- Charles Prud'homme
-
-
Constructor Summary
Constructors Constructor Description RealDomainMax()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
selectValue(RealVar var)
Selects and returns the value to constrained chosen variable with.
-
-
-
Method Detail
-
selectValue
public double selectValue(RealVar var)
Description copied from interface:RealValueSelector
Selects and returns the value to constrained chosen variable with. The chosen value must belong to the domain ofvariable
.- Specified by:
selectValue
in interfaceRealValueSelector
- Returns:
- the value, based on the domain of variable
-
-