Interface GraphVisitor


  • public interface GraphVisitor
    An interface in which to implement a visitor pattern with components of a graph.
    Author:
    Justin Deoliveira, Refractions Research Inc, jdeolive@refractions.net
    • Method Detail

      • visit

        int visit​(Graphable component)
        Presents the visitor with the component to visit.
        Parameters:
        component - The component being visited.
        Returns:
        An integer signal value back to the caller.