예제 #1
0
 public TopologicalSort(DirectedGraph graph)
 {
     this.graph = graph;
     vertices   = graph.Vertices;
     Dfs        = new DepthFirstSearch(graph);
 }