jopt.csp.spi.arcalgorithm.variable
Class GenericLongExpr

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.variable.VariableChangeBase
      extended byjopt.csp.spi.arcalgorithm.variable.NumExprBase
          extended byjopt.csp.spi.arcalgorithm.variable.GenericNumExprBase
              extended byjopt.csp.spi.arcalgorithm.variable.GenericLongExpr
All Implemented Interfaces:
jopt.csp.variable.CspDoubleCast, jopt.csp.variable.CspFloatCast, jopt.csp.variable.CspGenericDoubleCast, jopt.csp.variable.CspGenericFloatCast, jopt.csp.variable.CspGenericLongCast, jopt.csp.variable.CspGenericLongExpr, jopt.csp.variable.CspGenericNumExpr, jopt.csp.variable.CspLongCast, jopt.csp.variable.CspLongExpr, jopt.csp.variable.CspNumExpr, GenericNumExpr, NumExpr, SummationLongDomainExpression, TrigExpr, VariableChangeSource

public class GenericLongExpr
extends GenericNumExprBase
implements jopt.csp.variable.CspGenericLongExpr, jopt.csp.variable.CspGenericLongCast, SummationLongDomainExpression

A generic long variable such as Xi which represents X1, X2, etc.


Constructor Summary
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericIndex[] indices, NumExpr[] exprs)
          Constructor
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericIndex[] indices, NumExpr[] exprs, boolean isSummation)
          Constructor
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericLongCast aexpr, int operation)
           
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericLongCast aexpr, int operation, jopt.csp.variable.CspGenericLongCast bexpr)
           
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericLongCast aexpr, int operation, GenericLongConstant b)
           
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericLongCast aexpr, int operation, long b)
           
GenericLongExpr(java.lang.String name, jopt.csp.variable.CspGenericLongCast aexpr, int operation, LongCast bexpr)
           
GenericLongExpr(java.lang.String name, GenericLongConstant a, int operation, jopt.csp.variable.CspGenericLongCast bexpr)
           
GenericLongExpr(java.lang.String name, LongCast aexpr, int operation, jopt.csp.variable.CspGenericLongCast bexpr)
           
GenericLongExpr(java.lang.String name, long a, int operation, jopt.csp.variable.CspGenericLongCast bexpr)
           
 
Method Summary
 jopt.csp.variable.CspDoubleExpr add(jopt.csp.variable.CspDoubleExpr expr)
          Returns an expression representing the sum of this expression with another expression
 jopt.csp.variable.CspFloatExpr add(jopt.csp.variable.CspFloatExpr expr)
          Returns an expression representing the sum of this expression with another expression
 jopt.csp.variable.CspGenericLongExpr add(jopt.csp.variable.CspGenericLongConstant l)
          Returns an expression representing the sum of this expression with a static value
 jopt.csp.variable.CspLongExpr add(jopt.csp.variable.CspLongCast expr)
          Returns an expression representing the sum of this expression with another expression
 jopt.csp.variable.CspDoubleExpr add(double d)
          Returns an expression representing the sum of this expression with a static value
 jopt.csp.variable.CspFloatExpr add(float f)
          Returns an expression representing the sum of this expression with a static value
 jopt.csp.variable.CspLongExpr add(long l)
          Returns an expression representing the sum of this expression with a static value
 jopt.csp.variable.CspConstraint between(long min, boolean minExclusive, long max, boolean maxExclusive)
           
 jopt.csp.variable.CspConstraint between(long min, long max)
           
 jopt.csp.variable.CspDoubleExpr divide(jopt.csp.variable.CspDoubleExpr expr)
          Returns an expression representing the quotient of this expression with another expression
 jopt.csp.variable.CspFloatExpr divide(jopt.csp.variable.CspFloatExpr expr)
          Returns an expression representing the quotient of this expression with another expression
 jopt.csp.variable.CspGenericLongExpr divide(jopt.csp.variable.CspGenericLongConstant l)
          Returns an expression representing the quotient of this expression with a static value
 jopt.csp.variable.CspLongExpr divide(jopt.csp.variable.CspLongCast expr)
          Returns an expression representing the quotient of this expression with another expression
 jopt.csp.variable.CspDoubleExpr divide(double d)
          Returns an expression representing the quotient of this expression with a static value
 jopt.csp.variable.CspFloatExpr divide(float f)
          Returns an expression representing the quotient of this expression with a static value
 jopt.csp.variable.CspLongExpr divide(long l)
          Returns an expression representing the quotient of this expression with a static value
 jopt.csp.variable.CspConstraint eq(jopt.csp.variable.CspGenericLongConstant vals)
          Returns constraint restricting this expression to a value
 jopt.csp.variable.CspConstraint eq(long val)
          Returns constraint restricting this expression to a value
 jopt.csp.variable.CspConstraint geq(jopt.csp.variable.CspGenericLongConstant vals)
          Returns constraint restricting this expression to values above and including a given minimum
 jopt.csp.variable.CspConstraint geq(long val)
          Returns constraint restricting this expression to values above and including a given minimum
 DomainChangeSource getDomainChangeSourceForIndex()
          Returns a source for registering a domain change listener corresponding to the current index combination
 long getDomainMaxForIndex()
          Returns the maximum value of the expression that corresponds to the current index combination
 long getDomainMinForIndex()
          Returns the minimum value of the expression that corresponds to the current index combination
 jopt.csp.variable.CspLongCast getExpression(int offset)
          returns a numeric expression from the internal array
 jopt.csp.variable.CspLongCast getExpressionForIndex()
          Returns the internal variable corresponding to the associated index's current value
 long getLargestMax()
          Returns that largest maximal value of all variables in array
 long getLargestMax(int start, int end)
          Returns that largest maximal value of all variables in array within start and end indices
 long getLargestMin()
          Returns that largest minimal value of all variables in array
 long getLargestMin(int start, int end)
          Returns that largest minimal value of all variables in array within start and end indices
 long getMax()
          Returns maximum value of expression
 long getMin()
          Returns minimal value of expression
 Node getNode()
          Returns generic node for this variable
 int getNumberType()
          Returns the type of expression: Int, Long, etc.
 long getSmallestMax()
          Returns that smallest maximal value of all variables in array
 long getSmallestMax(int start, int end)
          Returns that smallest maximal value of all variables in array within start and end indices
 long getSmallestMin()
          Returns that smallest minimal value of all variables in array
 long getSmallestMin(int start, int end)
          Returns that smallest minimal value of all variables in array within start and end indices
 jopt.csp.variable.CspConstraint gt(jopt.csp.variable.CspGenericLongConstant vals)
          Returns constraint restricting this expression to values above a given minimum
 jopt.csp.variable.CspConstraint gt(long val)
          Returns constraint restricting this expression to values above a given minimum
 jopt.csp.variable.CspConstraint leq(jopt.csp.variable.CspGenericLongConstant vals)
          Returns constraint restricting this expression to values below and including a given maximum
 jopt.csp.variable.CspConstraint leq(long val)
          Returns constraint restricting this expression to values below and including a given maximum
 jopt.csp.variable.CspConstraint lt(jopt.csp.variable.CspGenericLongConstant vals)
          Returns constraint restricting this expression to values below a given maximum
 jopt.csp.variable.CspConstraint lt(long val)
          Returns constraint restricting this expression to values below a given maximum
 jopt.csp.variable.CspDoubleExpr multiply(jopt.csp.variable.CspDoubleExpr expr)
          Returns an expression representing the product of this expression with another expression
 jopt.csp.variable.CspFloatExpr multiply(jopt.csp.variable.CspFloatExpr expr)
          Returns an expression representing the product of this expression with another expression
 jopt.csp.variable.CspGenericLongExpr multiply(jopt.csp.variable.CspGenericLongConstant l)
          Returns an expression representing the product of this expression with a static value
 jopt.csp.variable.CspLongExpr multiply(jopt.csp.variable.CspLongCast expr)
          Returns an expression representing the product of this expression with another expression
 jopt.csp.variable.CspDoubleExpr multiply(double d)
          Returns an expression representing the product of this expression with a static value
 jopt.csp.variable.CspFloatExpr multiply(float f)
          Returns an expression representing the product of this expression with a static value
 jopt.csp.variable.CspLongExpr multiply(long l)
          Returns an expression representing the product of this expression with a static value
 jopt.csp.variable.CspConstraint neq(jopt.csp.variable.CspGenericLongConstant vals)
          Returns constraint restricting this expression to all values not equivalent to supplied value
 jopt.csp.variable.CspConstraint neq(long val)
          Returns constraint restricting this expression to all values not equivalent to supplied value
 jopt.csp.variable.CspConstraint notBetween(long min, boolean minExclusive, long max, boolean maxExclusive)
           
 jopt.csp.variable.CspConstraint notBetween(long min, long max)
           
 jopt.csp.variable.CspDoubleExpr subtract(jopt.csp.variable.CspDoubleExpr expr)
          Returns an expression representing the difference of this expression with another expression
 jopt.csp.variable.CspFloatExpr subtract(jopt.csp.variable.CspFloatExpr expr)
          Returns an expression representing the difference of this expression with another expression
 jopt.csp.variable.CspGenericLongExpr subtract(jopt.csp.variable.CspGenericLongConstant l)
          Returns an expression representing the difference of this expression with a static value
 jopt.csp.variable.CspLongExpr subtract(jopt.csp.variable.CspLongCast expr)
          Returns an expression representing the difference of this expression with another expression
 jopt.csp.variable.CspDoubleExpr subtract(double d)
          Returns an expression representing the difference of this expression with a static value
 jopt.csp.variable.CspFloatExpr subtract(float f)
          Returns an expression representing the difference of this expression with a static value
 jopt.csp.variable.CspLongExpr subtract(long l)
          Returns an expression representing the difference of this expression with a static value
 
Methods inherited from class jopt.csp.spi.arcalgorithm.variable.GenericNumExprBase
addVariableChangeListener, containsIndex, createFragment, getBooleanSourceArcs, getExpressionCount, getExpressionNodes, getGenericIndices, getIndices, getNextHigher, getNextLower, getNumExpression, getNumExpressionForIndex, getNumLargestMax, getNumLargestMax, getNumLargestMin, getNumLargestMin, getNumMax, getNumMin, getNumSmallestMax, getNumSmallestMax, getNumSmallestMin, getNumSmallestMin, getPrecision, isBound, isInDomain, removeVariableChangeListener, setIndicesToVariableOffset, setPrecision, toString, updateGraph
 
Methods inherited from class jopt.csp.spi.arcalgorithm.variable.NumExprBase
between, between, between, between, eq, equals, geq, getDomain, getName, getNodeCollection, gt, hashCode, leq, lt, neq, notBetween, notBetween, notBetween, notBetween, setName
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jopt.csp.variable.CspGenericNumExpr
getExpressionCount, getIndices
 
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
 
Methods inherited from interface jopt.csp.spi.arcalgorithm.domain.SummationLongDomainExpression
getIndices
 
Methods inherited from interface jopt.csp.spi.arcalgorithm.constraint.num.NumExpr
getName, getNodeCollection
 

Constructor Detail

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericIndex[] indices,
                       NumExpr[] exprs)
Constructor

Parameters:
name - unique name of this node
indices - array of indices that generic node is based upon
exprs - array of expressions that this generic expression wraps

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericIndex[] indices,
                       NumExpr[] exprs,
                       boolean isSummation)
Constructor

Parameters:
name - unique name of this node
indices - array of indices that generic node is based upon
exprs - array of expressions that this generic expression wraps

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericLongCast aexpr,
                       int operation,
                       LongCast bexpr)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericLongCast aexpr,
                       int operation,
                       jopt.csp.variable.CspGenericLongCast bexpr)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       LongCast aexpr,
                       int operation,
                       jopt.csp.variable.CspGenericLongCast bexpr)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       long a,
                       int operation,
                       jopt.csp.variable.CspGenericLongCast bexpr)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericLongCast aexpr,
                       int operation,
                       long b)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       GenericLongConstant a,
                       int operation,
                       jopt.csp.variable.CspGenericLongCast bexpr)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericLongCast aexpr,
                       int operation,
                       GenericLongConstant b)

GenericLongExpr

public GenericLongExpr(java.lang.String name,
                       jopt.csp.variable.CspGenericLongCast aexpr,
                       int operation)
Method Detail

getNode

public Node getNode()
Returns generic node for this variable

Specified by:
getNode in interface NumExpr

getNumberType

public int getNumberType()
Returns the type of expression: Int, Long, etc.

Specified by:
getNumberType in interface NumExpr

getMin

public long getMin()
Returns minimal value of expression

Specified by:
getMin in interface jopt.csp.variable.CspLongExpr

getMax

public long getMax()
Returns maximum value of expression

Specified by:
getMax in interface jopt.csp.variable.CspLongExpr

getDomainMinForIndex

public long getDomainMinForIndex()
Returns the minimum value of the expression that corresponds to the current index combination

Specified by:
getDomainMinForIndex in interface SummationLongDomainExpression

getDomainMaxForIndex

public long getDomainMaxForIndex()
Returns the maximum value of the expression that corresponds to the current index combination

Specified by:
getDomainMaxForIndex in interface SummationLongDomainExpression

getDomainChangeSourceForIndex

public DomainChangeSource getDomainChangeSourceForIndex()
Returns a source for registering a domain change listener corresponding to the current index combination

Specified by:
getDomainChangeSourceForIndex in interface SummationLongDomainExpression

add

public jopt.csp.variable.CspLongExpr add(long l)
Returns an expression representing the sum of this expression with a static value

Specified by:
add in interface jopt.csp.variable.CspLongExpr

add

public jopt.csp.variable.CspGenericLongExpr add(jopt.csp.variable.CspGenericLongConstant l)
Returns an expression representing the sum of this expression with a static value

Specified by:
add in interface jopt.csp.variable.CspGenericLongExpr

add

public jopt.csp.variable.CspFloatExpr add(float f)
Returns an expression representing the sum of this expression with a static value

Specified by:
add in interface jopt.csp.variable.CspLongExpr

add

public jopt.csp.variable.CspDoubleExpr add(double d)
Returns an expression representing the sum of this expression with a static value

Specified by:
add in interface jopt.csp.variable.CspLongExpr

add

public jopt.csp.variable.CspLongExpr add(jopt.csp.variable.CspLongCast expr)
Returns an expression representing the sum of this expression with another expression

Specified by:
add in interface jopt.csp.variable.CspLongExpr

add

public jopt.csp.variable.CspFloatExpr add(jopt.csp.variable.CspFloatExpr expr)
Returns an expression representing the sum of this expression with another expression

Specified by:
add in interface jopt.csp.variable.CspLongExpr

add

public jopt.csp.variable.CspDoubleExpr add(jopt.csp.variable.CspDoubleExpr expr)
Returns an expression representing the sum of this expression with another expression

Specified by:
add in interface jopt.csp.variable.CspLongExpr

subtract

public jopt.csp.variable.CspLongExpr subtract(long l)
Returns an expression representing the difference of this expression with a static value

Specified by:
subtract in interface jopt.csp.variable.CspLongExpr

subtract

public jopt.csp.variable.CspGenericLongExpr subtract(jopt.csp.variable.CspGenericLongConstant l)
Returns an expression representing the difference of this expression with a static value

Specified by:
subtract in interface jopt.csp.variable.CspGenericLongExpr

subtract

public jopt.csp.variable.CspFloatExpr subtract(float f)
Returns an expression representing the difference of this expression with a static value

Specified by:
subtract in interface jopt.csp.variable.CspLongExpr

subtract

public jopt.csp.variable.CspDoubleExpr subtract(double d)
Returns an expression representing the difference of this expression with a static value

Specified by:
subtract in interface jopt.csp.variable.CspLongExpr

subtract

public jopt.csp.variable.CspLongExpr subtract(jopt.csp.variable.CspLongCast expr)
Returns an expression representing the difference of this expression with another expression

Specified by:
subtract in interface jopt.csp.variable.CspLongExpr

subtract

public jopt.csp.variable.CspFloatExpr subtract(jopt.csp.variable.CspFloatExpr expr)
Returns an expression representing the difference of this expression with another expression

Specified by:
subtract in interface jopt.csp.variable.CspLongExpr

subtract

public jopt.csp.variable.CspDoubleExpr subtract(jopt.csp.variable.CspDoubleExpr expr)
Returns an expression representing the difference of this expression with another expression

Specified by:
subtract in interface jopt.csp.variable.CspLongExpr

multiply

public jopt.csp.variable.CspLongExpr multiply(long l)
Returns an expression representing the product of this expression with a static value

Specified by:
multiply in interface jopt.csp.variable.CspLongExpr

multiply

public jopt.csp.variable.CspGenericLongExpr multiply(jopt.csp.variable.CspGenericLongConstant l)
Returns an expression representing the product of this expression with a static value

Specified by:
multiply in interface jopt.csp.variable.CspGenericLongExpr

multiply

public jopt.csp.variable.CspFloatExpr multiply(float f)
Returns an expression representing the product of this expression with a static value

Specified by:
multiply in interface jopt.csp.variable.CspLongExpr

multiply

public jopt.csp.variable.CspDoubleExpr multiply(double d)
Returns an expression representing the product of this expression with a static value

Specified by:
multiply in interface jopt.csp.variable.CspLongExpr

multiply

public jopt.csp.variable.CspLongExpr multiply(jopt.csp.variable.CspLongCast expr)
Returns an expression representing the product of this expression with another expression

Specified by:
multiply in interface jopt.csp.variable.CspLongExpr

multiply

public jopt.csp.variable.CspFloatExpr multiply(jopt.csp.variable.CspFloatExpr expr)
Returns an expression representing the product of this expression with another expression

Specified by:
multiply in interface jopt.csp.variable.CspLongExpr

multiply

public jopt.csp.variable.CspDoubleExpr multiply(jopt.csp.variable.CspDoubleExpr expr)
Returns an expression representing the product of this expression with another expression

Specified by:
multiply in interface jopt.csp.variable.CspLongExpr

divide

public jopt.csp.variable.CspLongExpr divide(long l)
Returns an expression representing the quotient of this expression with a static value

Specified by:
divide in interface jopt.csp.variable.CspLongExpr

divide

public jopt.csp.variable.CspGenericLongExpr divide(jopt.csp.variable.CspGenericLongConstant l)
Returns an expression representing the quotient of this expression with a static value

Specified by:
divide in interface jopt.csp.variable.CspGenericLongExpr

divide

public jopt.csp.variable.CspFloatExpr divide(float f)
Returns an expression representing the quotient of this expression with a static value

Specified by:
divide in interface jopt.csp.variable.CspLongExpr

divide

public jopt.csp.variable.CspDoubleExpr divide(double d)
Returns an expression representing the quotient of this expression with a static value

Specified by:
divide in interface jopt.csp.variable.CspLongExpr

divide

public jopt.csp.variable.CspLongExpr divide(jopt.csp.variable.CspLongCast expr)
Returns an expression representing the quotient of this expression with another expression

Specified by:
divide in interface jopt.csp.variable.CspLongExpr

divide

public jopt.csp.variable.CspFloatExpr divide(jopt.csp.variable.CspFloatExpr expr)
Returns an expression representing the quotient of this expression with another expression

Specified by:
divide in interface jopt.csp.variable.CspLongExpr

divide

public jopt.csp.variable.CspDoubleExpr divide(jopt.csp.variable.CspDoubleExpr expr)
Returns an expression representing the quotient of this expression with another expression

Specified by:
divide in interface jopt.csp.variable.CspLongExpr

getExpressionForIndex

public jopt.csp.variable.CspLongCast getExpressionForIndex()
Returns the internal variable corresponding to the associated index's current value


getExpression

public jopt.csp.variable.CspLongCast getExpression(int offset)
returns a numeric expression from the internal array

Specified by:
getExpression in interface jopt.csp.variable.CspGenericLongExpr
Parameters:
offset - Offset of expression in internal expression array

getLargestMax

public long getLargestMax()
Returns that largest maximal value of all variables in array

Specified by:
getLargestMax in interface jopt.csp.variable.CspGenericLongExpr

getLargestMax

public long getLargestMax(int start,
                          int end)
Returns that largest maximal value of all variables in array within start and end indices

Specified by:
getLargestMax in interface jopt.csp.variable.CspGenericLongExpr

getSmallestMax

public long getSmallestMax()
Returns that smallest maximal value of all variables in array

Specified by:
getSmallestMax in interface jopt.csp.variable.CspGenericLongExpr

getSmallestMax

public long getSmallestMax(int start,
                           int end)
Returns that smallest maximal value of all variables in array within start and end indices

Specified by:
getSmallestMax in interface jopt.csp.variable.CspGenericLongExpr

getLargestMin

public long getLargestMin()
Returns that largest minimal value of all variables in array

Specified by:
getLargestMin in interface jopt.csp.variable.CspGenericLongExpr

getLargestMin

public long getLargestMin(int start,
                          int end)
Returns that largest minimal value of all variables in array within start and end indices

Specified by:
getLargestMin in interface jopt.csp.variable.CspGenericLongExpr

getSmallestMin

public long getSmallestMin()
Returns that smallest minimal value of all variables in array

Specified by:
getSmallestMin in interface jopt.csp.variable.CspGenericLongExpr

getSmallestMin

public long getSmallestMin(int start,
                           int end)
Returns that smallest minimal value of all variables in array within start and end indices

Specified by:
getSmallestMin in interface jopt.csp.variable.CspGenericLongExpr

eq

public jopt.csp.variable.CspConstraint eq(long val)
Returns constraint restricting this expression to a value

Specified by:
eq in interface jopt.csp.variable.CspLongExpr

eq

public jopt.csp.variable.CspConstraint eq(jopt.csp.variable.CspGenericLongConstant vals)
Returns constraint restricting this expression to a value

Specified by:
eq in interface jopt.csp.variable.CspGenericLongExpr

lt

public jopt.csp.variable.CspConstraint lt(long val)
Returns constraint restricting this expression to values below a given maximum

Specified by:
lt in interface jopt.csp.variable.CspLongExpr

lt

public jopt.csp.variable.CspConstraint lt(jopt.csp.variable.CspGenericLongConstant vals)
Returns constraint restricting this expression to values below a given maximum

Specified by:
lt in interface jopt.csp.variable.CspGenericLongExpr

leq

public jopt.csp.variable.CspConstraint leq(long val)
Returns constraint restricting this expression to values below and including a given maximum

Specified by:
leq in interface jopt.csp.variable.CspLongExpr

leq

public jopt.csp.variable.CspConstraint leq(jopt.csp.variable.CspGenericLongConstant vals)
Returns constraint restricting this expression to values below and including a given maximum

Specified by:
leq in interface jopt.csp.variable.CspGenericLongExpr

gt

public jopt.csp.variable.CspConstraint gt(long val)
Returns constraint restricting this expression to values above a given minimum

Specified by:
gt in interface jopt.csp.variable.CspLongExpr

gt

public jopt.csp.variable.CspConstraint gt(jopt.csp.variable.CspGenericLongConstant vals)
Returns constraint restricting this expression to values above a given minimum

Specified by:
gt in interface jopt.csp.variable.CspGenericLongExpr

geq

public jopt.csp.variable.CspConstraint geq(long val)
Returns constraint restricting this expression to values above and including a given minimum

Specified by:
geq in interface jopt.csp.variable.CspLongExpr

geq

public jopt.csp.variable.CspConstraint geq(jopt.csp.variable.CspGenericLongConstant vals)
Returns constraint restricting this expression to values above and including a given minimum

Specified by:
geq in interface jopt.csp.variable.CspGenericLongExpr

neq

public jopt.csp.variable.CspConstraint neq(long val)
Returns constraint restricting this expression to all values not equivalent to supplied value

Specified by:
neq in interface jopt.csp.variable.CspLongExpr

neq

public jopt.csp.variable.CspConstraint neq(jopt.csp.variable.CspGenericLongConstant vals)
Returns constraint restricting this expression to all values not equivalent to supplied value

Specified by:
neq in interface jopt.csp.variable.CspGenericLongExpr

between

public jopt.csp.variable.CspConstraint between(long min,
                                               boolean minExclusive,
                                               long max,
                                               boolean maxExclusive)
Specified by:
between in interface jopt.csp.variable.CspGenericLongExpr

between

public jopt.csp.variable.CspConstraint between(long min,
                                               long max)
Specified by:
between in interface jopt.csp.variable.CspGenericLongExpr

notBetween

public jopt.csp.variable.CspConstraint notBetween(long min,
                                                  boolean minExclusive,
                                                  long max,
                                                  boolean maxExclusive)
Specified by:
notBetween in interface jopt.csp.variable.CspGenericLongExpr

notBetween

public jopt.csp.variable.CspConstraint notBetween(long min,
                                                  long max)
Specified by:
notBetween in interface jopt.csp.variable.CspGenericLongExpr