Interface AbstractGraph.IGraphVisitor<V,​E>

Type Parameters:
V - The type of the graph's vertices
E - The type of the graph's edges
All Known Implementing Classes:
AbstractDependencyGraphFormatterVisitor, AbstractDependencyGraphFormatterVisitor, DescriptionDecoratorFilter, DescriptionDecoratorFilter, TraceColoringFilter, TraceColoringFilter
Enclosing class:
AbstractGraph<V extends AbstractVertex<V,​E,​O>,​E extends AbstractEdge<V,​E,​O>,​O>

public static interface AbstractGraph.IGraphVisitor<V,​E>
Interface for abstract-graph visitors. These visitors can be used in conjunction with the graph's traversal methods.
Since:
1.6
  • Method Summary

    Modifier and Type Method Description
    void visitEdge​(E edge)
    Call-back operation that is invoked when an edge is encountered during graph traversal.
    void visitVertex​(V vertex)
    Call-back operation that is invoked when a vertex is encountered during graph traversal.
  • Method Details

    • visitVertex

      void visitVertex​(V vertex)
      Call-back operation that is invoked when a vertex is encountered during graph traversal.
      Parameters:
      vertex - The encountered vertex
      Since:
      1.6
    • visitEdge

      void visitEdge​(E edge)
      Call-back operation that is invoked when an edge is encountered during graph traversal.
      Parameters:
      edge - The encountered edge
      Since:
      1.6