Class 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 Detail

      • RealDomainMax

        public RealDomainMax()
    • 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 of variable.
        Specified by:
        selectValue in interface RealValueSelector
        Returns:
        the value, based on the domain of variable