jopt.csp.spi.arcalgorithm.graph.arc.hyper
Class HyperArc

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
      extended byjopt.csp.spi.arcalgorithm.graph.arc.hyper.HyperArc
All Implemented Interfaces:
Arc
Direct Known Subclasses:
HyperNumMemberOfArrayArc, HyperNumNotMemberOfArrayArc, HyperSetArc, TernaryBoolArc, TernaryNumArc, TernaryNumRangeArc

public abstract class HyperArc
extends AbstractArc

An arc that might have more than one source node but only a single target node.


Field Summary
 
Fields inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc
BINARY, GENERIC, HYPER, NODE, SCHEDULE
 
Method Summary
 int getArcType()
          Returns value indicating type of Arc
 int getComplexity()
          Returns a value representing the complexity of the arc
 int[] getSourceDependencies()
          Returns the dependency type of target node on source node.
 Node[] getSourceNodes()
          Returns the source node of this Arc
 Node getTargetNode()
          Returns the target node of this Arc
 
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
propagate, propagate
 

Method Detail

getArcType

public int getArcType()
Returns value indicating type of Arc


getSourceNodes

public Node[] getSourceNodes()
Returns the source node of this Arc


getSourceDependencies

public int[] getSourceDependencies()
Returns the dependency type of target node on source node. By default, all source dependencies are currently of type DOMAIN.


getTargetNode

public Node getTargetNode()
Returns the target node of this Arc


getComplexity

public int getComplexity()
Returns a value representing the complexity of the arc