edu.neu.ccs.demeter.aplib
Class TraversalGraph.NodeSet
java.lang.Object
|
+--edu.neu.ccs.demeter.aplib.Traversal.NodeSet
|
+--edu.neu.ccs.demeter.aplib.TraversalGraph.NodeSet
- Enclosing class:
- TraversalGraph
- public class TraversalGraph.NodeSet
- extends Traversal.NodeSet
A set of nodes vi in a traversal graph, where the nodes in the
set are all copies of the same class graph node v with different
indices i.
getIndices
public List getIndices()
- A list of indices of the nodes in this set.
hasIndex
public boolean hasIndex(int i)
- Is vi in this set?
equals
public boolean equals(Object o)
- Overrides:
equals in class Traversal.NodeSet