jopt.js.spi.graph.arc
Class ForwardCheckReflexArc
java.lang.Object
jopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
jopt.csp.spi.arcalgorithm.graph.arc.SchedulerArc
jopt.js.spi.graph.arc.ForwardCheckReflexArc
- All Implemented Interfaces:
- jopt.csp.spi.arcalgorithm.graph.arc.Arc
- public class ForwardCheckReflexArc
- extends jopt.csp.spi.arcalgorithm.graph.arc.SchedulerArc
Arc to enforce and maintain consistency between resources and activities
- Author:
- James Boerkoel
Fields inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc |
BINARY, GENERIC, HYPER, NODE, SCHEDULE |
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.SchedulerArc |
getComplexity |
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 |
ForwardCheckReflexArc
public ForwardCheckReflexArc(ResourceNode[] sources,
ActivityNode target,
int operationID)
- Constructs a forward check reflex arc
- Parameters:
sources
- resource nodes that are the targetstarget
- activity node which is the sourceoperationID
- operationID of operation that this arc represents
getArcType
public int getArcType()
getSourceNodes
public jopt.csp.spi.arcalgorithm.graph.node.Node[] getSourceNodes()
getTargetNodes
public jopt.csp.spi.arcalgorithm.graph.node.Node[] getTargetNodes()
getSourceDependencies
public int[] getSourceDependencies()
propagate
public void propagate()
throws jopt.csp.variable.PropagationFailureException
- Throws:
jopt.csp.variable.PropagationFailureException
propagate
public void propagate(jopt.csp.spi.arcalgorithm.graph.node.Node src)
throws jopt.csp.variable.PropagationFailureException
- Throws:
jopt.csp.variable.PropagationFailureException