Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qishipengqsp committed Sep 23, 2024
1 parent 3a18aa3 commit 3960ad9
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ public String getUniformDistRandomText(Random random) {

public String getUniformDistRandomTextForComments(Random random) {
StringBuilder text = new StringBuilder();
for (int i = 0; i < 4; i++) {
text.append(random.nextInt(resources.size())).append(" ");
for (int i = 0; i < 5; i++) {
text.append(resources.get((long) random.nextInt(resources.size()))).append(" ");
}
return text.toString();
}
Expand Down
18 changes: 9 additions & 9 deletions src/main/resources/scale_factors.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,15 +118,15 @@
<scale_factor name="10">
<property>
<name>generator.numPersons</name>
<value>200000</value>
<value>100000</value>
</property>
<property>
<name>generator.numCompanies</name>
<value>200000</value>
<value>100000</value>
</property>
<property>
<name>generator.numMediums</name>
<value>350000</value>
<value>200000</value>
</property>
<property>
<name>transfer.minNumDegree</name>
Expand All @@ -141,15 +141,15 @@
<scale_factor name="30">
<property>
<name>generator.numPersons</name>
<value>600000</value>
<value>300000</value>
</property>
<property>
<name>generator.numCompanies</name>
<value>600000</value>
<value>300000</value>
</property>
<property>
<name>generator.numMediums</name>
<value>1200000</value>
<value>600000</value>
</property>
<property>
<name>transfer.minNumDegree</name>
Expand All @@ -164,15 +164,15 @@
<scale_factor name="100">
<property>
<name>generator.numPersons</name>
<value>2000000</value>
<value>1000000</value>
</property>
<property>
<name>generator.numCompanies</name>
<value>2000000</value>
<value>1000000</value>
</property>
<property>
<name>generator.numMediums</name>
<value>3500000</value>
<value>2000000</value>
</property>
<property>
<name>transfer.minNumDegree</name>
Expand Down

0 comments on commit 3960ad9

Please sign in to comment.