コード例 #1
0
void set_partition_from_memberships(DI & node_community, int_matrix & B) {
	
	B.clear();
	int_matrix A;
	
	int hi_number=0;
	RANGE_loop(i, node_community) {
		hi_number=max(hi_number, node_community[i]);
		//cout<<"hi number: "<<hi_number<<endl;
	}