Skip to content

Commit 83e071f

Browse files
committed
fixed maximum number of iterations of clustering coefficient based edge
generation
1 parent 958019f commit 83e071f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,7 +604,7 @@ public void generateKnows( ArrayList<Person> persons, int seed, ArrayList<Float>
604604
iterate = true;
605605
}
606606
numIterations++;
607-
}while( iterate );
607+
}while( iterate || numIterations < 10 );
608608

609609
int countMore = 0;
610610
int countLess = 0;

0 commit comments

Comments
 (0)