|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object jopt.csp.spi.arcalgorithm.graph.arc.AbstractArc jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryArc jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryBoolArc jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryBoolImpliesTwoVarArc
Arc representing Z <- A
Field Summary |
Fields inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc |
BINARY, GENERIC, HYPER, NODE, SCHEDULE |
Constructor Summary | |
BinaryBoolImpliesTwoVarArc(BooleanNode a,
boolean notA,
BooleanNode z,
boolean notZ)
Constraint |
Method Summary | |
void |
propagate()
Attempts to reduce values in target node domain based on values in all source nodes |
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryBoolArc |
propagate |
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.binary.BinaryArc |
getArcType, getComplexity, getSourceDependency, getSourceNode, 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, toString, wait, wait, wait |
Constructor Detail |
public BinaryBoolImpliesTwoVarArc(BooleanNode a, boolean notA, BooleanNode z, boolean notZ)
a
- Right of equationnotA
- True if A portion of equation is equal to !A, false if right side is equal to Az
- Left side of equationnotZ
- True if left side of equation is equal to !Z, false if left side is equal to ZMethod Detail |
public void propagate() throws jopt.csp.variable.PropagationFailureException
jopt.csp.variable.PropagationFailureException
- If domain of target node becomes empty
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |