|
|||||||||||
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.generic.GenericArc jopt.csp.spi.arcalgorithm.graph.arc.generic.GenericBoolArc
Base class for generic boolean arcs
Field Summary |
Fields inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc |
BINARY, GENERIC, HYPER, NODE, SCHEDULE |
Method Summary | |
boolean |
isAnyXFalse()
Returns true if any X node is false |
boolean |
isAnyXTrue()
Returns true if any X node is true |
boolean |
isAnyYFalse()
Returns true if any Y node is false |
boolean |
isAnyYTrue()
Returns true if any Y node is true |
boolean |
isAnyZFalse()
Returns true if any Z node is false |
boolean |
isAnyZTrue()
Returns true if any Z node is false |
void |
propagate()
Attempts to reduce values in target node domain based on values in all source nodes |
void |
propagate(Node src)
Attempts to reduce values in target node domain based on values in given source node |
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 |
Method Detail |
public boolean isAnyXFalse()
public boolean isAnyYFalse()
public boolean isAnyZFalse()
public boolean isAnyXTrue()
public boolean isAnyYTrue()
public boolean isAnyZTrue()
public void propagate() throws jopt.csp.variable.PropagationFailureException
Arc
jopt.csp.variable.PropagationFailureException
- If domain of target node becomes emptypublic void propagate(Node src) throws jopt.csp.variable.PropagationFailureException
Arc
src
- Source node that caused propagation to occur
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 |