From 48ecbcceb6270f31ca48d2b2ebb7fc95bf81f308 Mon Sep 17 00:00:00 2001 From: danthe1st Date: Thu, 26 Sep 2024 11:28:11 +0200 Subject: [PATCH] remove irrelevant TODOs --- .../danthe1st/arebac/data/graph_pattern/GraphPattern.java | 2 -- .../main/java/io/github/danthe1st/arebac/weaving/Weaving.java | 1 - 2 files changed, 3 deletions(-) diff --git a/arebac-core/src/main/java/io/github/danthe1st/arebac/data/graph_pattern/GraphPattern.java b/arebac-core/src/main/java/io/github/danthe1st/arebac/data/graph_pattern/GraphPattern.java index 9d40c2d..fef4ac6 100644 --- a/arebac-core/src/main/java/io/github/danthe1st/arebac/data/graph_pattern/GraphPattern.java +++ b/arebac-core/src/main/java/io/github/danthe1st/arebac/data/graph_pattern/GraphPattern.java @@ -27,8 +27,6 @@ public record GraphPattern( List returnedNodes, Map actorsToNodes) { - // TODO figure out whether categories are necessary and (if so) add them - public GraphPattern { Objects.requireNonNull(graph); Objects.requireNonNull(mutualExclusionConstraints); diff --git a/arebac-core/src/main/java/io/github/danthe1st/arebac/weaving/Weaving.java b/arebac-core/src/main/java/io/github/danthe1st/arebac/weaving/Weaving.java index 231fa6c..f573c00 100644 --- a/arebac-core/src/main/java/io/github/danthe1st/arebac/weaving/Weaving.java +++ b/arebac-core/src/main/java/io/github/danthe1st/arebac/weaving/Weaving.java @@ -33,7 +33,6 @@ private Weaving(List inputPatterns) { private GraphPattern run() { findEquivalences(); - // TODO if needed: combined pattern has all categories of each single pattern (currently there are no categories) LinkedHashMap edgeMapping = createEdges(); GPGraph graph = new GPGraph(new ArrayList<>(new HashSet<>(vertexToNodes.values())), new ArrayList<>(edgeMapping.values())); List mutualExclusionConstraints = createMutualExclusionConstraints();