Class IntDomainMax

  • All Implemented Interfaces:
    IntValueSelector

    public final class IntDomainMax
    extends Object
    implements IntValueSelector
    Selects the variable upper bound
    Since:
    28 sept. 2010
    Author:
    Charles Prud'homme
    • Constructor Detail

      • IntDomainMax

        public IntDomainMax()
    • Method Detail

      • selectValue

        public int selectValue​(IntVar var)
        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 IntValueSelector
        Returns:
        the value, based on the domain of variable