jopt.csp.spi.arcalgorithm.constraint.num
Class DiffConstraint
java.lang.Object
jopt.csp.spi.arcalgorithm.variable.VariableChangeBase
jopt.csp.spi.arcalgorithm.constraint.AbstractConstraint
jopt.csp.spi.arcalgorithm.constraint.num.NumConstraint
jopt.csp.spi.arcalgorithm.constraint.num.ThreeVarConstraint
jopt.csp.spi.arcalgorithm.constraint.num.DiffConstraint
- All Implemented Interfaces:
- jopt.csp.variable.CspConstraint, GraphConstraint, NumConstants, PostableConstraint, VariableChangeSource
- public class DiffConstraint
- extends ThreeVarConstraint
Constraint representing X - y < Z, X - Y > z, etc.
Fields inherited from interface jopt.csp.spi.util.NumConstants |
ADD, DIVIDE, DIVIDE_BY, DIVIDE_BY_CEIL, DIVIDE_BY_FLOOR, DIVIDE_CEIL, DIVIDE_FLOOR, DOUBLE, DOUBLE_NEG_INF, DOUBLE_POS_INF, DOUBLE_ZERO, EQ, FLOAT, FLOAT_NEG_INF, FLOAT_POS_INF, FLOAT_ZERO, GEQ, GT, HALF_PI, INTEGER, INTEGER_MAX, INTEGER_MIN, INTEGER_ZERO, LEQ, LONG, LONG_MAX, LONG_MIN, LONG_ZERO, LT, MULTIPLY, NEQ, ONE_AND_HALF_PI, PI, RANGE, SUBTRACT, SUBTRACT_FROM, TWO_PI |
Constructor Summary |
DiffConstraint(GenericNumConstant x,
NumExpr y,
NumExpr z,
int constraintType)
|
DiffConstraint(java.lang.Number x,
NumExpr y,
NumExpr z,
int constraintType)
|
DiffConstraint(NumExpr x,
GenericNumConstant y,
NumExpr z,
int constraintType)
|
DiffConstraint(NumExpr x,
java.lang.Number y,
NumExpr z,
int constraintType)
|
DiffConstraint(NumExpr x,
NumExpr y,
GenericNumConstant z,
int constraintType)
|
DiffConstraint(NumExpr x,
NumExpr y,
java.lang.Number z,
int constraintType)
|
DiffConstraint(NumExpr x,
NumExpr y,
NumExpr z,
int constraintType)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DiffConstraint
public DiffConstraint(NumExpr x,
NumExpr y,
NumExpr z,
int constraintType)
DiffConstraint
public DiffConstraint(NumExpr x,
NumExpr y,
java.lang.Number z,
int constraintType)
DiffConstraint
public DiffConstraint(NumExpr x,
java.lang.Number y,
NumExpr z,
int constraintType)
DiffConstraint
public DiffConstraint(java.lang.Number x,
NumExpr y,
NumExpr z,
int constraintType)
DiffConstraint
public DiffConstraint(NumExpr x,
NumExpr y,
GenericNumConstant z,
int constraintType)
DiffConstraint
public DiffConstraint(NumExpr x,
GenericNumConstant y,
NumExpr z,
int constraintType)
DiffConstraint
public DiffConstraint(GenericNumConstant x,
NumExpr y,
NumExpr z,
int constraintType)
violated
public boolean violated()