public class PropCondAllDiffInst extends PropAllDiffInst
Modifier and Type | Field and Description |
---|---|
protected Condition |
condition |
n, toCheck
aCause, ACTIVE, constraint, LOGGER, NEW, PASSIVE, priority, reactToFineEvt, REIFIED, solver, vars
Constructor and Description |
---|
PropCondAllDiffInst(IntVar[] variables,
Condition c)
ConditionnalAllDifferent constraint for integer variables
enables to control the cardinality of the matching
|
Modifier and Type | Method and Description |
---|---|
protected void |
fixpoint() |
ESat |
isEntailed()
Check wether
this is entailed according to the current state of its internal structure. |
String |
toString() |
duplicate, getPropagationConditions, propagate, propagate, why
addVariable, advise, arity, compareTo, contradiction, decNbPendingEvt, defineIn, dynPriority, flushPendingEvt, forcePropagate, getConstraint, getId, getNbPendingEvt, getNbVars, getPriority, getSolver, getVar, getVars, getVIndices, hashCode, incNbPendingEvt, isActive, isCompletelyInstantiated, isPassive, isReifiedAndSilent, isStateLess, reactToFineEvent, setActive, setPassive, setReifiedSilent, setReifiedTrue, setVIndices
protected Condition condition
public PropCondAllDiffInst(IntVar[] variables, Condition c)
variables
- array of integer variablesc
- a condition to define the subset of variables subject to the AllDiff cstrpublic String toString()
toString
in class Propagator<IntVar>
protected void fixpoint() throws ContradictionException
fixpoint
in class PropAllDiffInst
ContradictionException
public ESat isEntailed()
Propagator
this
is entailed according to the current state of its internal structure.
At least, should check the satisfaction of this
(when all is instantiated).isEntailed
in class PropAllDiffInst
Copyright © 2015. All rights reserved.