Exemple #1
0
 public EdgeCollection(DirectedGraphImpl <T> graph, int iNode, bool fSuccessor)
 {
     if (iNode < 0)
     {
         throw new ArgumentException("Invalid node.");
     }
     this.graph      = graph;
     this.iNode      = iNode;
     this.fSuccessor = fSuccessor;
 }
Exemple #2
0
 public NodeEnumerator(DirectedGraphImpl <T> graph)
 {
     this.graph = graph;
 }
Exemple #3
0
 public NodeCollection(DirectedGraphImpl <T> graph)
 {
     this.graph = graph;
 }