Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
qishipengqsp committed Aug 23, 2024
1 parent b0ab3e1 commit 69caa03
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
package ldbc.finbench.datagen.entities.edges;

import java.io.Serializable;
import java.util.List;
import java.util.Random;
import ldbc.finbench.datagen.entities.DynamicActivity;
import ldbc.finbench.datagen.entities.nodes.Company;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public CommonTextDictionary(String filePath, String separator) {

try {
InputStreamReader inputStreamReader = new InputStreamReader(
Objects.requireNonNull(getClass().getResourceAsStream(filePath)), StandardCharsets.UTF_8);
Objects.requireNonNull(getClass().getResourceAsStream(filePath)), StandardCharsets.UTF_8);
BufferedReader dictionary = new BufferedReader(inputStreamReader);
String line;
long totalNum = 0;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import java.nio.charset.StandardCharsets;
import java.util.Random;
import java.util.TreeMap;
import ldbc.finbench.datagen.generation.DatagenParams;

public class PersonNameDictionary {
private final TreeMap<Long, String> personSurnames;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ public class TimeDistribution {
private Map<Integer, Double> hourDistribution;
private double[] hourProbs;
private final double[] hourCumulatives;

public TimeDistribution(String hourDistributionFile) {
loadDistribution(hourDistributionFile);
hourCumulatives = new double[hourProbs.length];
Expand Down

0 comments on commit 69caa03

Please sign in to comment.