public class SearchTreeBuilder<VertexType extends GraphVertex<VertexType>> extends java.lang.Object implements SearchTreeCallback<VertexType>
SearchTreeCallback
Constructor and Description |
---|
SearchTreeBuilder() |
Modifier and Type | Method and Description |
---|---|
void |
addToSearchTree(VertexType parent,
VertexType child)
Add an edge to the current search tree.
|
java.util.Iterator<SearchTree<VertexType>> |
searchTreeIterator()
Get an Iterator over the recorded SearchTrees.
|
void |
startSearchTree(VertexType vertex)
Start a search tree.
|
public void startSearchTree(VertexType vertex)
SearchTreeCallback
startSearchTree
in interface SearchTreeCallback<VertexType extends GraphVertex<VertexType>>
vertex
- the root of the search treepublic void addToSearchTree(VertexType parent, VertexType child)
SearchTreeCallback
addToSearchTree
in interface SearchTreeCallback<VertexType extends GraphVertex<VertexType>>
parent
- the parent vertexchild
- the child vertexpublic java.util.Iterator<SearchTree<VertexType>> searchTreeIterator()
FindBugs™ is licenced under the LGPL. Copyright © 2006 University of Maryland.