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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addToSearchTree(VertexType parent, VertexType child)
Add an edge to the current search tree.void
startSearchTree(VertexType vertex)
Start a search tree.
-
-
-
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 vertexchild
- the child vertex
-
-