public static double getAvgDens(Graph[] g, Vector<String>[] seed, String[] alignedNodes)
	{
		int i=0, j=0, k=0;
		double avgDens=0.0;
		for(i=0;i<seed.length;i++)
		{
			double numEdges=0;
			for(j=0;j<seed[i].size();j++)
			{
				if(g[i].hasEdge(seed[i].get(j),alignedNodes[i]))
					numEdges++;
			}
			avgDens+=numEdges/seed[0].size();
		}
		avgDens=avgDens/seed.length;
		return avgDens;
	}