edu.umd.cs.findbugs.graph

Interface SearchTreeCallback<VertexType>

public interface SearchTreeCallback<VertexType extends GraphVertex<VertexType>>

Callback interface for building a search tree from a depth first search.
Method Summary
voidaddToSearchTree(VertexType parent, VertexType child)
Add an edge to the current search tree.
voidstartSearchTree(VertexType vertex)
Start a search tree.

Method Detail

addToSearchTree

public void addToSearchTree(VertexType parent, VertexType child)
Add an edge to the current search tree.

Parameters: parent the parent vertex child the child vertex

startSearchTree

public void startSearchTree(VertexType vertex)
Start a search tree.

Parameters: vertex the root of the search tree

FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.