java.lang.Object
org.jgrapht.traverse.BreadthFirstIterator.SearchNodeData<E>
- Type Parameters:
E
- the graph edge type
- Enclosing class:
- BreadthFirstIterator<V,
E>
Data kept for discovered vertices.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SearchNodeData
Constructor- Parameters:
edge
- edge to parentdepth
- depth of node in search tree
-
-
Method Details
-
getEdge
Edge to parent- Returns:
- the edge to the parent
-
getDepth
public int getDepth()Depth of node in search tree- Returns:
- the depth of the node in the search tree
-