public AdjListGraph(AdjListGraph <T> G) { N = G.numVert(); adj = new List <VertexCost> [N]; for (int i = 0; i < N; ++i) { adj[i] = new List <VertexCost>(G.Adjacents(i).GetRange(0, G.Adjacents(i).Count)); } }