|Constructor and Description|
Propagator for Member constraint val(intVar) is in setVar
|Modifier and Type||Method and Description|
Returns the specific mask indicating the variable events on which this
Call the main filtering algorithm to apply to the
addVariable, arity, compareTo, defaultExplain, doFinePropagation, doFlush, doSchedule, doScheduleEvent, dynPriority, equals, explain, fails, forcePropagate, forcePropagationOnBacktrack, forEachIntVar, getConstraint, getId, getModel, getNbVars, getPosition, getPriority, getVar, getVars, getVIndice, getVIndices, hashCode, isActive, isCompletelyInstantiated, isPassive, isReified, isReifiedAndSilent, isScheduled, isStateLess, linkVariables, propagate, reactToFineEvent, reifiedWith, setActive, setActive0, setPassive, setPosition, setReifiedSilent, setReifiedTrue, setVIndices, toString, unlinkVariables, unschedule
public int getPropagationConditions(int vIdx)
Propagatorobject can react.
IEventTypethis can react on. For example, consider a propagator that can deduce filtering based on the lower bound of the integer variable X. Then, for this variable, the mask should be equal to :
int mask = IntEventType.INCLOW.getMask() | IntEventType.INSTANTIATE.getMask();or, in a more convenient way:
int mask = IntEvtType.combine(IntEventType.INCLOW,IntEventType.INSTANTIATE);That indicates the following behavior:
IntEventType.VOIDwhich states that this propagator should not be aware of modifications applied to the variable in position vIdx.
public void propagate(int evtmask) throws ContradictionException
Variableobjects. It considers the current state of this objects to remove some values from domains and/or instantiate some variables. Calling this method is done from 2 (and only 2) steps:
public ESat isEntailed()
thisis entailed according to the current state of its internal structure. At least, should check the satisfaction of
this(when all is instantiated).
Copyright © 2019. All rights reserved.