public class ListDG extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ListDG.Edge |
Constructor and Description |
---|
ListDG(List vexs,
List<ListDG.Edge> edges) |
Modifier and Type | Method and Description |
---|---|
void |
BFS() |
void |
DFS() |
static void |
main(String[] args) |
void |
print() |
boolean |
topologicalSort() |
boolean |
topologicalSort(Object[] tops) |
public ListDG(List vexs, List<ListDG.Edge> edges)
Copyright © 2013–2017 Alibaba Group. All rights reserved.