jopt.csp.spi.arcalgorithm.graph.arc.binary
Class BinaryNumQuotAlternateArc

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
      extended byjopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryArc
          extended byjopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryNumArc
              extended byjopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryNumQuotAlternateArc
All Implemented Interfaces:
Arc, NumArc, NumConstants

public class BinaryNumQuotAlternateArc
extends BinaryNumArc

Arc representing Z = X / y, Z < x / Y, etc with multiplication- and division-related behavior. For an explanation of this arc's behavior, check out TernaryNumQuotAlternateArc.

See Also:
BinaryNumQuotArc

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
BinaryNumQuotAlternateArc(java.lang.Number xconst, NumNode y, NumNode z, int nodeType, int arcType)
          Constructor
BinaryNumQuotAlternateArc(NumNode x, java.lang.Number yconst, NumNode z, int nodeType, int arcType)
          Constructor
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryNumArc
isBinary, propagate, toString
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryArc
getArcType, getComplexity, getSourceDependency, getSourceNode, getTargetNode, propagate
 
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, propagate, setAlgorithmStrength, setUseDomainDeltas
 

Constructor Detail

BinaryNumQuotAlternateArc

public BinaryNumQuotAlternateArc(NumNode x,
                                 java.lang.Number yconst,
                                 NumNode z,
                                 int nodeType,
                                 int arcType)
Constructor

Parameters:
x - X variable in equation
yconst - Y constant in equation
z - Z variable in equation
nodeType - Node variable type (Integer, Long, Float, Decimal)
arcType - Arc relation type (Eq, Lt, Gt, etc.)

BinaryNumQuotAlternateArc

public BinaryNumQuotAlternateArc(java.lang.Number xconst,
                                 NumNode y,
                                 NumNode z,
                                 int nodeType,
                                 int arcType)
Constructor

Parameters:
xconst - X constant in equation
y - Y variable in equation
z - Z variable in equation
nodeType - Node variable type (Integer, Long, Float, Decimal)
arcType - Arc relation type (Eq, Lt, Gt, etc.)