jopt.csp.spi.arcalgorithm.graph.arc.node
Class NodeNumSquareReflexArc
java.lang.Object
jopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
jopt.csp.spi.arcalgorithm.graph.arc.node.NodeArc
jopt.csp.spi.arcalgorithm.graph.arc.node.NodeNumArc
jopt.csp.spi.arcalgorithm.graph.arc.node.NodeNumSquareReflexArc
- All Implemented Interfaces:
- Arc, NumArc, NumConstants
- public class NodeNumSquareReflexArc
- extends NodeNumArc
Arc representing Z = sqrt(a), Z < sqrt(a), etc with special square-related behavior
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 |
Method Summary |
void |
propagate()
Attempts to reduce values in target node domain based on Min / Max values
in source node(s) |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NodeNumSquareReflexArc
public NodeNumSquareReflexArc(java.lang.Number a,
NumNode z,
int nodeType,
int arcType)
- Constructor
propagate
public void propagate()
throws jopt.csp.variable.PropagationFailureException
- Attempts to reduce values in target node domain based on Min / Max values
in source node(s)
- Specified by:
propagate
in interface Arc
- Overrides:
propagate
in class NodeNumArc
- Throws:
jopt.csp.variable.PropagationFailureException
- If domain of target node becomes empty