public class SearchTree<VertexType extends GraphVertex<VertexType>> extends Object
Constructor and Description |
---|
SearchTree(VertexType v)
Create a new search tree.
|
Modifier and Type | Method and Description |
---|---|
void |
addChild(SearchTree<VertexType> child)
Add a child search tree.
|
void |
addVerticesToSet(Set<VertexType> set)
Add all vertices contained in this search tree to the given set.
|
Iterator<SearchTree<VertexType>> |
childIterator()
Return collection of children of this search tree.
|
VertexType |
getVertex()
Get the vertex contained in this node.
|
public SearchTree(VertexType v)
public VertexType getVertex()
public void addChild(SearchTree<VertexType> child)
public Iterator<SearchTree<VertexType>> childIterator()
public void addVerticesToSet(Set<VertexType> set)
Copyright © 2003–2015. All rights reserved.