jopt.csp.variable
Interface CspGenericBooleanExpr

All Superinterfaces:
CspBooleanExpr, CspIntExpr, CspNumExpr

public interface CspGenericBooleanExpr
extends CspBooleanExpr

Interface implemented by generic boolean expressions.


Method Summary
 CspBooleanExpr getExpression(int offset)
          returns a boolean expression from the internal array
 int getExpressionCount()
          Returns the number of expressions that are wrapped by this generic node
 
Methods inherited from interface jopt.csp.variable.CspBooleanExpr
and, and, and, and, eq, eq, eq, implies, implies, implies, implies, isFalse, isTrue, not, or, or, or, or, toConstraint, xor, xor, xor, xor
 
Methods inherited from interface jopt.csp.variable.CspIntExpr
add, add, add, add, add, add, add, add, between, between, divide, divide, divide, divide, divide, divide, divide, divide, eq, eq, geq, geq, getMax, getMin, gt, gt, leq, leq, lt, lt, multiply, multiply, multiply, multiply, multiply, multiply, multiply, multiply, neq, neq, notBetween, notBetween, subtract, subtract, subtract, subtract, subtract, subtract, subtract, subtract
 
Methods inherited from interface jopt.csp.variable.CspNumExpr
between, between, between, between, eq, geq, getName, gt, isBound, leq, lt, neq, notBetween, notBetween, notBetween, notBetween, setName
 

Method Detail

getExpression

public CspBooleanExpr getExpression(int offset)
returns a boolean expression from the internal array

Parameters:
offset - Offset of expression in internal expression array
Returns:
CspBooleanExpr at the index of the offset

getExpressionCount

public int getExpressionCount()
Returns the number of expressions that are wrapped by this generic node

Returns:
number of expressions that are wrapped by this generic node