jopt.csp.variable
Interface CspGenericNumExpr

All Superinterfaces:
CspNumExpr
All Known Subinterfaces:
CspGenericDoubleCast, CspGenericDoubleExpr, CspGenericFloatCast, CspGenericFloatExpr, CspGenericIntExpr, CspGenericLongCast, CspGenericLongExpr

public interface CspGenericNumExpr
extends CspNumExpr

Interface for generic number expressions


Method Summary
 int getExpressionCount()
          Returns the number of expressions that are wrapped by this generic expression
 CspGenericIndex[] getIndices()
          Returns the indices that are associated with this expression
 
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

getIndices

public CspGenericIndex[] getIndices()
Returns the indices that are associated with this expression

Returns:
array of indices that this expression is indexed over

getExpressionCount

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

Returns:
number of expression that are apart of this generic expression