Skip to content

Commit 4459f37

Browse files
committed
cleanup and documenting
1 parent 5ff9674 commit 4459f37

1 file changed

Lines changed: 3 additions & 4 deletions

File tree

src/main/java/Demo.java

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,14 +22,15 @@ public static void main(String[] args) {
2222
Path.of(System.getProperty("user.dir") + "/data/graph/workdir"),
2323
ESupportedLanguages.LINES);
2424

25-
// optionally the number of threads can be adjusted, per default it is set to the number of available system threads
25+
// optionally the number of threads can be adjusted,
26+
// per default it is set to the number of available system threads
2627
traceBoosting.setNumThreads(1);
2728

2829
List<Variant> variants = traceBoosting.getVariants();
2930
System.out.println("initiated with " + variants.size() + " products");
3031
applyDistribution(variants);
3132

32-
//collect and print set of extracted features (from configurations)
33+
// collect and print set of extracted features (from configurations)
3334
Set<String> relevantFeatures = variants.stream().flatMap(p -> p.getFeatures().stream().map(Feature::getName))
3435
.collect(Collectors.toSet());
3536
System.out.println(relevantFeatures);
@@ -51,15 +52,13 @@ private static List<VariantPassport> createVariantPassports() {
5152
variantPassports.add(
5253
new VariantPassport("weighted",
5354
Path.of(System.getProperty("user.dir") + "/data/graph/variant1/src"),
54-
//configFileMap.get(variantName)
5555
Path.of(System.getProperty("user.dir") + "/data/graph/variant1/config1.config")
5656
)
5757
);
5858

5959
variantPassports.add(
6060
new VariantPassport("directed",
6161
Path.of(System.getProperty("user.dir") + "/data/graph/variant2/src"),
62-
//configFileMap.get(variantName)
6362
Path.of(System.getProperty("user.dir") + "/data/graph/variant2/config2.config")
6463
)
6564
);

0 commit comments

Comments
 (0)