jopt.csp.spi.arcalgorithm.graph.arc.hyper
Class TernaryNumNotBetweenArc

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
      extended byjopt.csp.spi.arcalgorithm.graph.arc.hyper.HyperArc
          extended byjopt.csp.spi.arcalgorithm.graph.arc.hyper.TernaryNumRangeArc
              extended byjopt.csp.spi.arcalgorithm.graph.arc.hyper.TernaryNumNotBetweenArc
All Implemented Interfaces:
Arc, NumArc, NumConstants

public class TernaryNumNotBetweenArc
extends TernaryNumRangeArc

Arc representing Z is outside of a range [min..max] or (min..max], etc.


Field Summary
 
Fields inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc
BINARY, GENERIC, HYPER, NODE, SCHEDULE
 
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
TernaryNumNotBetweenArc(java.lang.Number sourceMin, boolean minExclusive, java.lang.Number sourceMax, boolean maxExclusive, NumNode target, int nodeType)
          Constructor
TernaryNumNotBetweenArc(java.lang.Number sourceMin, boolean minExclusive, NumNode sourceMax, boolean maxExclusive, NumNode target, int nodeType)
          Constructor
TernaryNumNotBetweenArc(NumNode sourceMin, boolean minExclusive, java.lang.Number sourceMax, boolean maxExclusive, NumNode target, int nodeType)
          Constructor
TernaryNumNotBetweenArc(NumNode sourceMin, boolean minExclusive, NumNode sourceMax, boolean maxExclusive, NumNode target, int nodeType)
          Constructor
 
Method Summary
 java.lang.String toString()
          Returns string representation of arc
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.hyper.TernaryNumRangeArc
propagate, propagate
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.hyper.HyperArc
getArcType, getComplexity, getSourceDependencies, getSourceNodes, getTargetNode
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
setAlgorithmStrength, setUseDomainDeltas
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc
getArcType, getComplexity, setAlgorithmStrength, setUseDomainDeltas
 

Constructor Detail

TernaryNumNotBetweenArc

public TernaryNumNotBetweenArc(java.lang.Number sourceMin,
                               boolean minExclusive,
                               java.lang.Number sourceMax,
                               boolean maxExclusive,
                               NumNode target,
                               int nodeType)
Constructor

Parameters:
sourceMin - Source node providing the minimum in equation
minExclusive - True if minimum of range is strictly greater than sourceMin
sourceMax - Source node providing the maximum in equation
maxExclusive - True if maximum of range is strictly less than sourceMax
target - Target node in equation
nodeType - Node variable type (Integer, Long, Float, Decimal)

TernaryNumNotBetweenArc

public TernaryNumNotBetweenArc(java.lang.Number sourceMin,
                               boolean minExclusive,
                               NumNode sourceMax,
                               boolean maxExclusive,
                               NumNode target,
                               int nodeType)
Constructor

Parameters:
sourceMin - Source node providing the minimum in equation
minExclusive - True if minimum of range is strictly greater than sourceMin
sourceMax - Source node providing the maximum in equation
maxExclusive - True if maximum of range is strictly less than sourceMax
target - Target node in equation
nodeType - Node variable type (Integer, Long, Float, Decimal)

TernaryNumNotBetweenArc

public TernaryNumNotBetweenArc(NumNode sourceMin,
                               boolean minExclusive,
                               java.lang.Number sourceMax,
                               boolean maxExclusive,
                               NumNode target,
                               int nodeType)
Constructor

Parameters:
sourceMin - Source node providing the minimum in equation
minExclusive - True if minimum of range is strictly greater than sourceMin
sourceMax - Source node providing the maximum in equation
maxExclusive - True if maximum of range is strictly less than sourceMax
target - Target node in equation
nodeType - Node variable type (Integer, Long, Float, Decimal)

TernaryNumNotBetweenArc

public TernaryNumNotBetweenArc(NumNode sourceMin,
                               boolean minExclusive,
                               NumNode sourceMax,
                               boolean maxExclusive,
                               NumNode target,
                               int nodeType)
Constructor

Parameters:
sourceMin - Source node providing the minimum in equation
minExclusive - True if minimum of range is strictly greater than sourceMin
sourceMax - Source node providing the maximum in equation
maxExclusive - True if maximum of range is strictly less than sourceMax
target - Target node in equation
nodeType - Node variable type (Integer, Long, Float, Decimal)
Method Detail

toString

public java.lang.String toString()
Returns string representation of arc