Skip to content

Commit 8f326ca

Browse files
committed
Fixed bug at clustering coefficient based edge generation
1 parent 83e071f commit 8f326ca

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/main/java/ldbc/snb/datagen/generator/ClusteringKnowsGenerator.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -556,7 +556,7 @@ public void generateKnows( ArrayList<Person> persons, int seed, ArrayList<Float>
556556
float fakeTargetCC = targetCC;
557557
int numIterations = 0;
558558
do {
559-
System.out.println("Starting refinement iteration");
559+
System.out.println("****** STARTING REFINEMENT ITERATION ******");
560560
iterate = false;
561561
start = System.currentTimeMillis();
562562
refineCommunities(cInfo, communities, fakeTargetCC);
@@ -604,7 +604,8 @@ public void generateKnows( ArrayList<Person> persons, int seed, ArrayList<Float>
604604
iterate = true;
605605
}
606606
numIterations++;
607-
}while( iterate || numIterations < 10 );
607+
System.out.println("****** FINISHED REFINEMENT ITERATION ******");
608+
}while( iterate && numIterations < 10 );
608609

609610
int countMore = 0;
610611
int countLess = 0;

0 commit comments

Comments
 (0)