ListDG

Java: 无回路有向图(Directed Acyclic Graph)的拓扑排序 该DAG图是通过邻接表实现的。

Constructors

this
this(List!Object vexs, List!(Edge) edges)
Undocumented in source.

Members

Classes

Edge
class Edge
Undocumented in source.

Functions

BFS
void BFS()
Undocumented in source. Be warned that the author may not have intended to support it.
DFS
void DFS()
Undocumented in source. Be warned that the author may not have intended to support it.
print
void print()
Undocumented in source. Be warned that the author may not have intended to support it.
topologicalSort
bool topologicalSort()
Undocumented in source. Be warned that the author may not have intended to support it.
topologicalSort
bool topologicalSort(Object[] tops)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta