public class SumConstraint extends Constraint
Project: choco-solver.
Constraint.Statuspropagators| Constructor and Description |
|---|
SumConstraint(String name,
Propagator propagator)
Make a new constraint defined as a set of given propagators
|
| Modifier and Type | Method and Description |
|---|---|
protected Constraint |
makeOpposite()
The only reason this class exists
|
checkNewStatus, computeMaxPriority, declareAs, getCidxInModel, getName, getOpposite, getPropagator, getPropagators, getStatus, isReified, isSatisfied, merge, post, reify, reifyWith, setName, toStringpublic SumConstraint(String name, Propagator propagator)
name - name of the constraintpropagator - propagator defining the constraintprotected Constraint makeOpposite()
makeOpposite in class ConstraintCopyright © 2017. All rights reserved.