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; }
public NodeEnumerator(DirectedGraphImpl <T> graph) { this.graph = graph; }
public NodeCollection(DirectedGraphImpl <T> graph) { this.graph = graph; }