Interface SearchTreeCallback<VertexType extends GraphVertex<VertexType>>

  • All Known Implementing Classes:
    SearchTreeBuilder

    public interface SearchTreeCallback<VertexType extends GraphVertex<VertexType>>
    Callback interface for building a search tree from a depth first search.
    • Method Detail

      • startSearchTree

        void startSearchTree​(VertexType vertex)
        Start a search tree.
        Parameters:
        vertex - the root of the search tree
      • addToSearchTree

        void addToSearchTree​(VertexType parent,
                             VertexType child)
        Add an edge to the current search tree.
        Parameters:
        parent - the parent vertex
        child - the child vertex