jopt.csp.spi.arcalgorithm.graph.arc.generic
Class GenericSetArc

java.lang.Object
  extended byjopt.csp.spi.arcalgorithm.graph.arc.AbstractArc
      extended byjopt.csp.spi.arcalgorithm.graph.arc.generic.GenericArc
          extended byjopt.csp.spi.arcalgorithm.graph.arc.generic.GenericSetArc
All Implemented Interfaces:
Arc, SetArc
Direct Known Subclasses:
GenericSetNullIntersectionArc, GenericSetUnionAdvancedFilterArc, GenericSetUnionIntersectFilterArc

public abstract class GenericSetArc
extends GenericArc
implements SetArc

Abstract base arc for generic set arcs


Field Summary
 
Fields inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc
BINARY, GENERIC, HYPER, NODE, SCHEDULE
 
Constructor Summary
GenericSetArc(Node[] sources, Node[] targets)
          Constructor
 
Method Summary
 int getComplexity()
          Returns a value representing the complexity of the arc
 
Methods inherited from class jopt.csp.spi.arcalgorithm.graph.arc.generic.GenericArc
getArcType, 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
 
Methods inherited from interface jopt.csp.spi.arcalgorithm.graph.arc.Arc
getArcType, propagate, propagate, setAlgorithmStrength, setUseDomainDeltas
 

Constructor Detail

GenericSetArc

public GenericSetArc(Node[] sources,
                     Node[] targets)
Constructor

Parameters:
sources - Source nodes in equation
targets - Target nodes in equation
Method Detail

getComplexity

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

Specified by:
getComplexity in interface Arc
Overrides:
getComplexity in class GenericArc