Interface Visitor<T>

  • Type Parameters:
    T -

    public interface Visitor<T>
    A graph visitor interface.
    Version:
    $Revision$
    • Method Detail

      • visit

        void visit​(Graph<T> g,
                   Vertex<T> v)
        Called by the graph traversal methods when a vertex is first visited.
        Parameters:
        g - - the graph
        v - - the vertex being visited.