public StronglyConnectedComponentResolver(DirectedGraph graph)
 {
     StronglyConnectedComponents = new List <StronglyConnectedComponent>();
     Find(graph);
 }
 public DirectedGraphTopologicalSort(DirectedGraph graph)
 {
     _Items = new LinkedList <int>();
     Sort(graph, _Items);
 }
 public TopologicalSortGraphViaBfsIndegrees(DirectedGraph graph) : base(graph)
 {
 }
 protected abstract void Sort(DirectedGraph graph, ICollection <int> items);
 public TopologicalSortGraphViaDfs(DirectedGraph graph) : base(graph)
 {
 }