Interface ILogical
-
- All Superinterfaces:
Cloneable
- All Known Subinterfaces:
BoolVar
- All Known Implementing Classes:
BoolNotView,BoolVarImpl,FixedBoolVarImpl,LogOp
public interface ILogical extends Cloneable
- Since:
- 23 nov. 2010
- Author:
- Charles Prud'homme
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisLit()Current tree is a literalbooleanisNot()Current tree is rooted with NOT logical operator This is a one way relationship: in case a = not(b) a.isNot() returns true whereas b.isNot() returns false (unless b = not(c)...)voidsetNot(boolean isNot)States whether or not this variable is the negation of another.
-
-
-
Method Detail
-
isLit
boolean isLit()
Current tree is a literal- Returns:
trueifthisis a literal
-
isNot
boolean isNot()
Current tree is rooted with NOT logical operator This is a one way relationship: in case a = not(b) a.isNot() returns true whereas b.isNot() returns false (unless b = not(c)...)- Returns:
trueifthisis NOT
-
setNot
void setNot(boolean isNot)
States whether or not this variable is the negation of another. This is a one way relationship: in case a = not(b) a.isNot() returns true whereas b.isNot() returns false (unless b = not(c)...)- Parameters:
isNot- true iff this variable is the negation of another
-
-