Class BasicGraphTraversal

  • All Implemented Interfaces:
    GraphTraversal
    Direct Known Subclasses:
    StagedGraphTraversal

    public class BasicGraphTraversal
    extends Object
    implements GraphTraversal
    A basic implementation of GraphTraversal.
    Author:
    Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
    • Constructor Detail

      • BasicGraphTraversal

        public BasicGraphTraversal​(Graph graph,
                                   GraphWalker walker,
                                   GraphIterator iterator)
        Constructs a new graph traversal.
        Parameters:
        graph - The graph being traversed.
        walker - The walker being traversed over the components of the graph.
        iterator - The iterator specifying the order in which to visit components of the graph.