public class BoolVarImpl extends IntVarImpl implements BoolVar
Constructor and Description |
---|
BoolVarImpl(Solver cp) |
Modifier and Type | Method and Description |
---|---|
void |
assign(boolean b)
Assigns the variable
|
boolean |
isFalse()
Tests if the variable is bound to false
|
boolean |
isTrue()
Tests if the variable is bound to true
|
assign, contains, fillArray, getSolver, isBound, max, min, propagateOnBind, propagateOnBoundChange, propagateOnDomainChange, remove, removeAbove, removeBelow, scheduleAll, size, toString, whenBind, whenBoundsChange, whenDomainChange
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
assign, contains, fillArray, getSolver, isBound, max, min, propagateOnBind, propagateOnBoundChange, propagateOnDomainChange, remove, removeAbove, removeBelow, size, whenBind, whenBoundsChange, whenDomainChange
public BoolVarImpl(Solver cp)
Copyright © 2018 Laurent Michel, Pierre Schaus, Pascal Van Hentenryck. All rights reserved.