chord.util.graph
Interface IPathVisitor<Node>
public interface IPathVisitor<Node>
Specification of a visitor over edges in a path of a
directed graph.
- Author:
- Mayur Naik (mhn@cs.stanford.edu)
|
Method Summary |
java.lang.String |
visit(Node origNode,
Node destNode)
Method called while visiting each edge in a path of a
directed graph. |
visit
java.lang.String visit(Node origNode,
Node destNode)
- Method called while visiting each edge in a path of a
directed graph.
- Parameters:
origNode - The source node of the visited edge.destNode - The target node of the visited edge.
- Returns:
- A string-valued result of visiting the edge.