| 程序包 | 说明 |
|---|---|
| com.jn.langx.util.collection.graph |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
Graph.breadthFirstSearch(Vertex<T> v,
Visitor<T> visitor)
Perform a breadth first search of this graph, starting at v.
|
void |
Graph.depthFirstSearch(Vertex<T> v,
Visitor<T> visitor)
Perform a depth first serach using recursion.
|
Copyright © 2021. All rights reserved.