Exemplo n.º 1
0
 /// <summary>
 /// Constructs a new AdjacencyList for the graph and node.
 /// </summary>
 /// <param name="graph">The graph.</param>
 /// <param name="source">The source node for the adjacency list.</param>
 public AdjacencyList(DirectedGraph <TNode, TEdgeData> graph, TNode source)
 {
     _graph  = graph;
     _source = source;
 }