public GraphProperties(Graph G)
	{
		bfs = new BFS[G.V()];
		for (int v = 0; v < G.V(); v++)
			bfs[v] = new BFS(G, v);

		diameter = 0;
		radius = Integer.MAX_VALUE;
		for (int v = 0; v < G.V(); v++)
		{
			if (diameter < bfs[v].eccentricity())
				diameter = bfs[v].eccentricity();

			if (radius > bfs[v].eccentricity())
			{
				radius = bfs[v].eccentricity();
				center = v;
			}
		}

	}