@SuppressWarnings("unchecked")
	public EdgeWeightedGraph(int V)
	{
		this.V = V;
		this.E = 0;
		adj = (List<WeightedEdge>[]) new LinkedList[V];
		for (int v = 0; v < V; v++)
			adj[v] = new LinkedList<WeightedEdge>();
	}