jopt.csp.spi.arcalgorithm.constraint.num
Class NumNotBetweenConstraint

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.variable.VariableChangeBase
      extended byjopt.csp.spi.arcalgorithm.constraint.AbstractConstraint
          extended byjopt.csp.spi.arcalgorithm.constraint.num.NumConstraint
              extended byjopt.csp.spi.arcalgorithm.constraint.num.NumRangeConstraint
                  extended byjopt.csp.spi.arcalgorithm.constraint.num.NumNotBetweenConstraint
All Implemented Interfaces:
jopt.csp.variable.CspConstraint, GraphConstraint, NumConstants, PostableConstraint, VariableChangeSource

public class NumNotBetweenConstraint
extends NumRangeConstraint

Z is not a subset of A, and does not exist between min and max


Field Summary
 
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
NumNotBetweenConstraint(jopt.csp.variable.CspGenericNumConstant sourceMin, boolean minExclusive, jopt.csp.variable.CspGenericNumConstant sourceMax, boolean maxExclusive, NumExpr z)
           
NumNotBetweenConstraint(java.lang.Number sourceMin, boolean minExclusive, java.lang.Number sourceMax, boolean maxExclusive, NumExpr z)
           
NumNotBetweenConstraint(NumExpr sourceMin, boolean minExclusive, NumExpr sourceMax, boolean maxExclusive, NumExpr z)
           
 
Method Summary
 boolean violated()
           
 
Methods inherited from class jopt.csp.spi.arcalgorithm.constraint.num.NumRangeConstraint
getBooleanSourceArcs, getBooleanSourceArcs, getBooleanSourceNodes, getIndexManager, getLargestMax, getLargestMin, getSmallestMax, getSmallestMin, isViolated, postToGraph
 
Methods inherited from class jopt.csp.spi.arcalgorithm.constraint.num.NumConstraint
addVariableChangeListener, removeVariableChangeListener
 
Methods inherited from class jopt.csp.spi.arcalgorithm.constraint.AbstractConstraint
associateToGraph, getGraphConstraintFragment, getPostableOpposite, isFalse, isTrue, toBoolean
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NumNotBetweenConstraint

public NumNotBetweenConstraint(NumExpr sourceMin,
                               boolean minExclusive,
                               NumExpr sourceMax,
                               boolean maxExclusive,
                               NumExpr z)

NumNotBetweenConstraint

public NumNotBetweenConstraint(java.lang.Number sourceMin,
                               boolean minExclusive,
                               java.lang.Number sourceMax,
                               boolean maxExclusive,
                               NumExpr z)

NumNotBetweenConstraint

public NumNotBetweenConstraint(jopt.csp.variable.CspGenericNumConstant sourceMin,
                               boolean minExclusive,
                               jopt.csp.variable.CspGenericNumConstant sourceMax,
                               boolean maxExclusive,
                               NumExpr z)
Method Detail

violated

public boolean violated()
Specified by:
violated in class NumRangeConstraint