Class SumConstraint


  • public class SumConstraint
    extends Constraint

    Project: choco-solver.

    Since:
    28/06/2016.
    Author:
    Charles Prud'homme
    • Constructor Detail

      • SumConstraint

        public SumConstraint​(Propagator propagator)
        Make a new constraint defined as a set of given propagators
        Parameters:
        propagator - propagator defining the constraint
    • Method Detail

      • makeOpposite

        protected Constraint makeOpposite()
        The only reason this class exists
        Overrides:
        makeOpposite in class Constraint
        Returns:
        an accurate opposite constraint