edu.neu.ccs.demeter.aplib
Class TraversalIntersection

java.lang.Object
  |
  +--edu.neu.ccs.demeter.aplib.Traversal
        |
        +--edu.neu.ccs.demeter.aplib.TraversalCombination
              |
              +--edu.neu.ccs.demeter.aplib.TraversalIntersection

public class TraversalIntersection
extends TraversalCombination

The intersection of two traversals, that is, the set of paths that are in both traversals.


Nested Class Summary
 
Nested classes inherited from class edu.neu.ccs.demeter.aplib.TraversalCombination
TraversalCombination.EdgeSet, TraversalCombination.NodeSet
 
Nested classes inherited from class edu.neu.ccs.demeter.aplib.Traversal
Traversal.EdgeSet, Traversal.NodeSet
 
Constructor Summary
TraversalIntersection(Traversal l, Traversal r)
           
 
Method Summary
protected  List combineEdgeSetLists(List l, List r)
           
protected  Traversal.EdgeSet combineEdgeSets(Traversal.EdgeSet l, Traversal.EdgeSet r)
           
protected  List combineNodeSetLists(List l, List r)
           
protected  Traversal.NodeSet combineNodeSets(Traversal.NodeSet l, Traversal.NodeSet r)
           
 String toString()
           
 
Methods inherited from class edu.neu.ccs.demeter.aplib.TraversalCombination
getEdgeSet, getEdgeSets, getFinishSet, getFinishSet, getLeftTraversal, getNodeSet, getNodeSets, getRightTraversal, getStartSet, getStartSet
 
Methods inherited from class edu.neu.ccs.demeter.aplib.Traversal
compute, compute, edgeKey, getAlternationEdgeSet, getClassGraph, getConstructionEdgeSet, getEdgeSet, getInheritanceEdgeSet, getVersion, intersect, toCompactString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TraversalIntersection

public TraversalIntersection(Traversal l,
                             Traversal r)
                      throws IncompatibleClassGraphsException
Method Detail

toString

public String toString()
Overrides:
toString in class Object

combineNodeSetLists

protected List combineNodeSetLists(List l,
                                   List r)
Specified by:
combineNodeSetLists in class TraversalCombination

combineNodeSets

protected Traversal.NodeSet combineNodeSets(Traversal.NodeSet l,
                                            Traversal.NodeSet r)
Specified by:
combineNodeSets in class TraversalCombination

combineEdgeSetLists

protected List combineEdgeSetLists(List l,
                                   List r)
Specified by:
combineEdgeSetLists in class TraversalCombination

combineEdgeSets

protected Traversal.EdgeSet combineEdgeSets(Traversal.EdgeSet l,
                                            Traversal.EdgeSet r)
Specified by:
combineEdgeSets in class TraversalCombination