Package edu.umd.cs.findbugs.graph
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 Summary
Modifier and TypeMethodDescriptionvoid
addToSearchTree
(VertexType parent, VertexType child) Add an edge to the current search tree.void
startSearchTree
(VertexType vertex) Start a search tree.
-
Method Details
-
startSearchTree
Start a search tree.- Parameters:
vertex
- the root of the search tree
-
addToSearchTree
Add an edge to the current search tree.- Parameters:
parent
- the parent vertexchild
- the child vertex
-