|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use CspIntExpr | |
jopt.csp.solution | Defines structures for storing solutions to constraint satisfaction problems |
jopt.csp.variable | The interfaces for building, combining, and constraining variables and expressions |
Uses of CspIntExpr in jopt.csp.solution |
Methods in jopt.csp.solution that return CspIntExpr | |
CspIntExpr |
SolutionScope.getIntObjectiveExpression()
Returns objective int expression |
Uses of CspIntExpr in jopt.csp.variable |
Subinterfaces of CspIntExpr in jopt.csp.variable | |
interface |
CspBooleanExpr
Base interface for boolean expressions |
interface |
CspBooleanVariable
|
interface |
CspGenericBooleanExpr
Interface implemented by generic boolean expressions. |
interface |
CspGenericIntExpr
Interface for generic integer expressions |
interface |
CspIntVariable
Interface implemented by integer based variables. |
Methods in jopt.csp.variable that return CspIntExpr | |
CspIntExpr |
CspMath.add(int a,
CspIntExpr bexpr)
Creates integer expression representing a+b |
CspIntExpr |
CspMath.subtract(int a,
CspIntExpr bexpr)
Creates integer expression representing a-b |
CspIntExpr |
CspMath.multiply(int a,
CspIntExpr bexpr)
Creates integer expression representing a*b |
CspIntExpr |
CspMath.divide(int a,
CspIntExpr bexpr)
Creates integer expression representing a/b |
CspIntExpr |
CspMath.abs(CspIntExpr expr)
Creates integer expression representing |expr| |
CspIntExpr |
CspMath.square(CspIntExpr expr)
Creates integer expression representing expr^2 |
CspIntExpr |
CspMath.summation(CspGenericIntExpr x,
CspGenericIndex[] indexRange,
CspGenericIndexRestriction sourceIdxRestriction)
Creates a variable equal to the summation of values in the generic variable. |
CspIntExpr |
CspIntExpr.add(int i)
Returns an expression representing the sum of this expression with a static value |
CspIntExpr |
CspIntExpr.add(CspIntExpr expr)
Returns an expression representing the sum of this expression with another expression |
CspIntExpr |
CspIntExpr.subtract(int i)
Returns an expression representing the difference of this expression with a static value |
CspIntExpr |
CspIntExpr.subtract(CspIntExpr expr)
Returns an expression representing the difference of this expression with another expression |
CspIntExpr |
CspIntExpr.multiply(int i)
Returns an expression representing the product of this expression with a static value |
CspIntExpr |
CspIntExpr.multiply(CspIntExpr expr)
Returns an expression representing the product of this expression with another expression |
CspIntExpr |
CspIntExpr.divide(int i)
Returns an expression representing the quotient of this expression with a static value |
CspIntExpr |
CspIntExpr.divide(CspIntExpr expr)
Returns an expression representing the quotient of this expression with another expression |
CspIntExpr |
CspGenericIntExpr.getExpression(int offset)
Returns a numeric expression from the internal array |
Methods in jopt.csp.variable with parameters of type CspIntExpr | |
CspIntVariable |
CspVariableFactory.intVar(java.lang.String name,
CspIntExpr expr)
Creates an instance of a CspIntVariable object based on an expression. |
CspConstraint |
CspSetConstraints.memberOfSet(CspIntSetVariable set,
CspIntExpr expr)
Constrains a numeric expression to be a member of a set. |
CspConstraint |
CspSetConstraints.notMemberOfSet(CspIntSetVariable set,
CspIntExpr expr)
Constrains a numeric expression to not be a member of a set. |
CspIntExpr |
CspMath.add(int a,
CspIntExpr bexpr)
Creates integer expression representing a+b |
CspIntExpr |
CspMath.subtract(int a,
CspIntExpr bexpr)
Creates integer expression representing a-b |
CspIntExpr |
CspMath.multiply(int a,
CspIntExpr bexpr)
Creates integer expression representing a*b |
CspIntExpr |
CspMath.divide(int a,
CspIntExpr bexpr)
Creates integer expression representing a/b |
CspIntExpr |
CspMath.abs(CspIntExpr expr)
Creates integer expression representing |expr| |
CspIntExpr |
CspMath.square(CspIntExpr expr)
Creates integer expression representing expr^2 |
CspConstraint |
CspMath.allDifferent(CspIntExpr[] exprs)
Constrains an array of variables to have different values |
CspConstraint |
CspMath.globalCardinality(CspIntExpr[] exprs,
java.lang.Number[] vals,
int[] lb,
int[] ub)
Generates a constraint that will cause the number of times vals occurs in exprs to be at least lb and at most ub |
CspConstraint |
CspMath.globalCardCount(CspIntExpr[] exprs,
java.lang.Number[] vals,
CspIntExpr[] count)
A constraint that will count the number of occurrence of certain values and store that number in the corresponding count int expression |
CspConstraint |
CspMath.globalCardCount(CspLongExpr[] exprs,
java.lang.Number[] vals,
CspIntExpr[] count)
A constraint that will count the number of occurrence of certain values and store that number in the corresponding count int expression |
CspConstraint |
CspMath.globalCardCount(CspGenericIntExpr expr,
java.lang.Number[] vals,
CspIntExpr[] count)
A constraint that will count the number of occurrence of certain values and store that number in the corresponding count int expression |
CspConstraint |
CspMath.globalCardCount(CspGenericLongExpr expr,
java.lang.Number[] vals,
CspIntExpr[] count)
A constraint that will count the number of occurrence of certain values and store that number in the corresponding count int expression |
CspConstraint |
CspMath.memberOfArray(CspIntExpr[] sources,
CspIntExpr expr)
Constrains a numeric expression to be a member of an array. |
CspConstraint |
CspMath.notMemberOfArray(CspIntExpr[] sources,
CspIntExpr expr)
Constrains a numeric expression to not be a member of an array. |
CspIntExpr |
CspIntExpr.add(CspIntExpr expr)
Returns an expression representing the sum of this expression with another expression |
CspIntExpr |
CspIntExpr.subtract(CspIntExpr expr)
Returns an expression representing the difference of this expression with another expression |
CspIntExpr |
CspIntExpr.multiply(CspIntExpr expr)
Returns an expression representing the product of this expression with another expression |
CspIntExpr |
CspIntExpr.divide(CspIntExpr expr)
Returns an expression representing the quotient of this expression with another expression |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |