Documentation of 'smile.graph.Visitor' Java class
Visitor
smile.graph

Interface Visitor



  • public interface Visitor
    A visitor is encapsulation of some operation on graph vertices during traveling graph (DFS or BFS).
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      void visit(int vertex)
      Performs some operations on the currently-visiting vertex during DFS or BFS.
    • Method Detail

      • visit

        void visit(int vertex)
        Performs some operations on the currently-visiting vertex during DFS or BFS.
        Parameters:
        vertex - the index of vertex.

DataMelt 3.0 © DataMelt by jWork.ORG

Ads help maintain this website.