choco.integer
Interface IntConstraint
- All Superinterfaces:
- java.lang.Cloneable, Constraint, Entity, java.util.EventListener, IntVarEventListener, Propagator, VarEventListener
- All Known Subinterfaces:
- BoolConstraint, MixedConstraint, PalmMixedConstraint
- All Known Implementing Classes:
- AbstractBinBoolConstraint, AbstractBinBoolConstraintWithCounterOpposite, AbstractBinIntConstraint, AbstractBinSetIntConstraint, AbstractBipartiteFlow, AbstractBipartiteGraph, AbstractBipartiteMatching, AbstractIntConstraint, AbstractLargeBoolConstraint, AbstractLargeBoolConstraintWithCounterOpposite, AbstractLargeIntConstraint, AbstractMixedConstraint, AbstractPalmBinIntConstraint, AbstractPalmLargeIntConstraint, AbstractPalmTernIntConstraint, AbstractPalmUnIntConstraint, AbstractTernIntConstraint, AbstractUnIntConstraint, AC2001BinConstraint, AC3BinConstraint, AC4BinConstraint, AllDifferent, BinConjunction, BinDisjunction, BooleanChanneling, BoundAllDiff, Cardinality, CspBinConstraint, CspLargeConstraint, Cumulative, Element, ElementV, EqualXC, EqualXYC, Equiv, GAC2001LargeConstraint, GlobalCardinality, GreaterOrEqualXC, GreaterOrEqualXYC, Guard, IntLinComb, InverseChanneling, LargeConjunction, LargeDisjunction, LessOrEqualXC, Lex, MemberXY, MixedCstElt, MixedEqXY, NogoodConstraint, NotEqualXC, NotEqualXYC, NotMemberXY, Occurrence, PalmAllDifferent, PalmAssignment, PalmCardinality, PalmElt, PalmElt2D, PalmEqualXC, PalmEqualXYC, PalmGreaterOrEqualXC, PalmGreaterOrEqualXYC, PalmIntLinComb, PalmLessOrEqualXC, PalmMixedCstElt, PalmMixedEqXY, PalmNotEqualXC, PalmNotEqualXYC, PalmOccurence, SetCard, TimesXYZ
public interface IntConstraint
- extends Constraint, Propagator, IntVarEventListener
An interface for all implementations of listeners using search variables.
Methods inherited from interface choco.Propagator |
assignIndices, awake, awakeOnVar, constAwake, delete, getEvent, getPlugIn, getPriority, isCompletelyInstantiated, isConsistent, isEntailed, propagate |
getIntVar
IntDomainVar getIntVar(int i)
- Network management:
Accessing the i-th search variable of a constraint.
- Parameters:
i
- index of the variable among all search variables in the constraint. Numbering start from 0 on.
- Returns:
- the variable, or null when no such variable is found
awakeOnRemovals
void awakeOnRemovals(int varIdx,
IntIterator deltaDomain)
throws ContradictionException
- Throws:
ContradictionException
awakeOnBounds
void awakeOnBounds(int varIdx)
throws ContradictionException
- Throws:
ContradictionException