jopt.csp.spi.arcalgorithm.graph.arc.generic
Class GenericNumSumArc

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
      extended byjopt.csp.spi.arcalgorithm.graph.arc.generic.GenericArc
          extended byjopt.csp.spi.arcalgorithm.graph.arc.generic.GenericNumArc
              extended byjopt.csp.spi.arcalgorithm.graph.arc.generic.GenericNumSumArc
All Implemented Interfaces:
Arc, NumArc, NumConstants

public class GenericNumSumArc
extends GenericNumArc
implements NumArc

Arc representing Zi = Xi + Yi, Zi < Xj + Yi, Zi > Xj + Yk, 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
GenericNumSumArc(GenericNumConstant x, Node y, Node z, int nodeType, int arcType)
          Constructor
GenericNumSumArc(Node x, GenericNumConstant y, Node z, int nodeType, int arcType)
          Constructor
GenericNumSumArc(Node x, Node y, Node z, int nodeType, int arcType)
          Constructor
GenericNumSumArc(Node x, java.lang.Number y, Node z, int nodeType, int arcType)
          Constructor
GenericNumSumArc(java.lang.Number x, Node y, Node z, int nodeType, int arcType)
          Constructor
GenericNumSumArc(java.lang.Number x, java.lang.Number y, Node z, int nodeType, int arcType)
          Constructor
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.generic.GenericNumArc
isInDomainX, isInDomainY, isInDomainZ, propagate, propagate
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.generic.GenericArc
getArcType, getComplexity, getSourceDependencies, getSourceNodes, getTargetNodes
 
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, toString, wait, wait, wait
 
Methods inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc
getArcType, getComplexity, propagate, propagate, setAlgorithmStrength, setUseDomainDeltas
 

Constructor Detail

GenericNumSumArc

public GenericNumSumArc(Node x,
                        Node y,
                        Node z,
                        int nodeType,
                        int arcType)
Constructor

Parameters:
x - X variable 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.)

GenericNumSumArc

public GenericNumSumArc(java.lang.Number x,
                        Node y,
                        Node z,
                        int nodeType,
                        int arcType)
Constructor

Parameters:
x - 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.)

GenericNumSumArc

public GenericNumSumArc(GenericNumConstant x,
                        Node y,
                        Node z,
                        int nodeType,
                        int arcType)
Constructor

Parameters:
x - 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.)

GenericNumSumArc

public GenericNumSumArc(Node x,
                        java.lang.Number y,
                        Node z,
                        int nodeType,
                        int arcType)
Constructor

Parameters:
x - X variable in equation
y - 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.)

GenericNumSumArc

public GenericNumSumArc(Node x,
                        GenericNumConstant y,
                        Node z,
                        int nodeType,
                        int arcType)
Constructor

Parameters:
x - X variable in equation
y - 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.)

GenericNumSumArc

public GenericNumSumArc(java.lang.Number x,
                        java.lang.Number y,
                        Node z,
                        int nodeType,
                        int arcType)
Constructor

Parameters:
x - X constant in equation
y - 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.)