| java.lang.Object org.quilt.graph.Walker
Walker | public class Walker (Code) | | Walks a Visitor through a Quilt directed graph, visiting each
vertex and edge once and only once. Any subgraphs are visited
with the same guarantee.
author: Jim Dixon |
Constructor Summary | |
public | Walker() No-arg constructor. |
Walker | public Walker()(Code) | | No-arg constructor.
|
visit | public Exit visit(Directed g, Visitor guest)(Code) | | Walk through the entire graph.
Parameters: graph - The graph we are walking. Parameters: guest - Agent which does something as we walk the graph. Reference to the exit Vertex of the graph. |
|
|