public interface BoolVar extends IntVar, ILogical, ReExpression
ReExpression.OperatorMAX_INT_BOUND, MIN_INT_BOUNDBOOL, CSTE, INT, KIND, REAL, SET, TYPE, VAR, VIEWNO_CHILD| Modifier and Type | Method and Description |
|---|---|
void |
_setNot(BoolVar not) |
default BoolVar |
boolVar() |
default void |
extractVar(HashSet<IntVar> variables)
Extract the variables from this expression
|
ESat |
getBooleanValue() |
boolean |
hasNot() |
default IntVar |
intVar() |
BoolVar |
not() |
boolean |
setToFalse(ICause cause) |
boolean |
setToTrue(ICause cause) |
contains, getDomainSize, getLB, getNoChild, getRange, getRangeIterator, getUB, getValue, getValueIterator, hasEnumeratedDomain, instantiateTo, isBool, isExpressionLeaf, isInstantiatedTo, monitorDelta, nextValue, nextValueOut, previousValue, previousValueOut, removeAllValuesBut, removeInterval, removeValue, removeValues, reverseValue, transformEvent, transformValue, updateBounds, updateLowerBound, updateUpperBound, why_schedIter, addMonitor, asBoolVar, asIntVar, asRealVar, asSetVar, clearEvents, contradiction, createDelta, getCause, getDelta, getDindex, getEnvironment, getIndexInPropagator, getMask, getModel, getName, getNbProps, getPIndices, getPropagator, getPropagators, getTypeAndKind, getViews, isAConstant, isInstantiated, link, notifyMonitors, notifyPropagators, notifyViews, removeMonitor, setPIndice, storeEvents, subscribeView, swapOnActivate, swapOnPassivate, unlinkcompareToforEach, iterator, spliteratorisLit, isNot, setNotESat getBooleanValue()
boolean setToTrue(ICause cause) throws ContradictionException
ContradictionExceptionboolean setToFalse(ICause cause) throws ContradictionException
ContradictionExceptionBoolVar not()
not in interface ReExpressionboolean hasNot()
void _setNot(BoolVar not)
default IntVar intVar()
intVar in interface ArExpressionintVar in interface IntVarintVar in interface ReExpressionIntVar.
If necessary, it creates intermediary variable and posts intermediary constraintsdefault BoolVar boolVar()
boolVar in interface ReExpressionBoolVar.
If necessary, it creates intermediary variable and posts intermediary constraintsdefault void extractVar(HashSet<IntVar> variables)
ArExpressionextractVar in interface ArExpressionextractVar in interface ReExpressionvariables - set of variablesCopyright © 2018. All rights reserved.