private double compute_conductance(fgraph fg,community com)
	{
		double m=0,c=0;
		for(int i=0;i<fg.get_number_of_edges();i++)
		{
			edge e=fg.get_edge(i);
			if(com.contains(e.get_n1())&&com.contains(e.get_n2()))
			{
				m++;
			}
			else if((com.contains(e.get_n1())&&!com.contains(e.get_n2()))||(!com.contains(e.get_n1())&&com.contains(e.get_n2())))
			{
				c++;
			}
		}
		return (c/(m+c));
	}