sofya.apps.dejavu
Class EdgeSelector.EdgeTraversal

java.lang.Object
  extended by sofya.apps.dejavu.EdgeSelector.EdgeTraversal
Enclosing class:
EdgeSelector

public static class EdgeSelector.EdgeTraversal
extends java.lang.Object

Data container class which is used to direct the behavior of the graph traverser.


Constructor Summary
protected EdgeSelector.EdgeTraversal()
          Creates a traversal instruction which directs the graph traverser to follow all outgoing edges.
protected EdgeSelector.EdgeTraversal(Node oldSuccessor, Node newSuccessor)
          Creates a traversal instruction with directs the graph traverser to proceed to a particular successor.
 
Method Summary
 Node newSuccessor()
          Gets the next node in the new graph to which the traversal should proceed.
 Node oldSuccessor()
          Gets the next node in the old graph to which the traversal should proceed.
 boolean traverseAll()
          Reports whether the graph traverser should follow all outgoing edges.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EdgeSelector.EdgeTraversal

protected EdgeSelector.EdgeTraversal()
Creates a traversal instruction which directs the graph traverser to follow all outgoing edges.


EdgeSelector.EdgeTraversal

protected EdgeSelector.EdgeTraversal(Node oldSuccessor,
                                     Node newSuccessor)
Creates a traversal instruction with directs the graph traverser to proceed to a particular successor.

Parameters:
oldSuccessor - Next node in the old graph to which the traversal should proceed.
newSuccessor - Next node in the new graph to which the traversal should proceed.
Method Detail

traverseAll

public boolean traverseAll()
Reports whether the graph traverser should follow all outgoing edges.


oldSuccessor

public Node oldSuccessor()
Gets the next node in the old graph to which the traversal should proceed.


newSuccessor

public Node newSuccessor()
Gets the next node in the new graph to which the traversal should proceed.