edu.neu.ccs.demeter.aplib
Class Traversal.EdgeSet

java.lang.Object
  |
  +--edu.neu.ccs.demeter.aplib.Traversal.EdgeSet
Direct Known Subclasses:
TraversalCombination.EdgeSet, TraversalGraph.EdgeSet
Enclosing class:
Traversal

public abstract class Traversal.EdgeSet
extends Object

A set of edges ui -l-> vj in a traversal graph, where the edges in the set are all copies of the same class graph edge u -l-> v with different endpoint indices i and j.


Method Summary
 boolean equals(Object x)
           
 EdgeI getEdge()
          The class graph edge u -l-> v corresponding to this edge set.
abstract  Traversal.NodeSet getTargetNodeSet()
          The set of target nodes of edges in this set.
 boolean sameEdge(Traversal.EdgeSet s)
          Is s a set of copies of the same edge as this?
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getEdge

public EdgeI getEdge()
The class graph edge u -l-> v corresponding to this edge set.


sameEdge

public boolean sameEdge(Traversal.EdgeSet s)
Is s a set of copies of the same edge as this?


equals

public boolean equals(Object x)
Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object

getTargetNodeSet

public abstract Traversal.NodeSet getTargetNodeSet()
The set of target nodes of edges in this set.