Пример #1
0
 public BfsTopological(Digraph g) : base(g)
 {
     _g     = g;
     _cycle = new BfsCycle(g);
 }
Пример #2
0
 public DfsTopological(Digraph g) : base(g)
 {
     _cycle = new DfsCycle(g);
     _order = new Order(g);
 }