java.lang.Object
org.maxicp.cp.engine.core.CPIntVarImpl
org.maxicp.cp.engine.core.CPBoolVarIsEqual
- All Implemented Interfaces:
Serializable,CPBoolVar,CPIntVar,CPVar,BoolExpression,Expression,IntExpression,BoolVar,ConcreteBoolVar,ConcreteIntVar,ConcreteVar,IntVar,Var
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.maxicp.cp.engine.core.CPIntVarImpl
contains, delta, fillArray, fillDeltaArray, fix, getModelProxy, getSolver, isFixed, max, min, propagateOnBoundChange, propagateOnDomainChange, propagateOnFix, remove, removeAbove, removeBelow, scheduleAll, size, toString, whenBoundChange, whenDomainChange, whenDomainChange, whenFixedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.maxicp.modeling.algebra.bool.BoolExpression
reifyMethods inherited from interface org.maxicp.cp.engine.core.CPBoolVar
contains, evaluateBool, fillArray, max, min, sizeMethods inherited from interface org.maxicp.cp.engine.core.CPIntVar
abs, after, before, delta, evaluate, fillDeltaArray, fix, getSolver, isFixed, minus, minus, plus, plus, propagateOnBoundChange, propagateOnDomainChange, propagateOnFix, remove, removeAbove, removeBelow, whenBoundChange, whenDomainChange, whenDomainChange, whenFixedMethods inherited from interface org.maxicp.modeling.algebra.Expression
getModelProxy, subexpressionsMethods inherited from interface org.maxicp.modeling.algebra.integer.IntExpression
showMethods inherited from interface org.maxicp.modeling.IntVar
computeSubexpressions, isFixed, mapSubexpressionsMethods inherited from interface org.maxicp.modeling.Var
getModelProxy
-
Constructor Details
-
CPBoolVarIsEqual
-
-
Method Details
-
isTrue
public boolean isTrue()Description copied from interface:CPBoolVarTests if the variable is fixed to true -
isFalse
public boolean isFalse()Description copied from interface:CPBoolVarTests if the variable is fixed to false -
fix
Description copied from interface:CPBoolVarFixes the variable- Specified by:
fixin interfaceCPBoolVar- Parameters:
b- the value to assign to this boolean variable- Throws:
InconsistencyException- is thrown if the value is not in the domain
-