diff --git a/AlgebraicDataflowArchitectureModel/src/algorithm/EdgeTransitionSelectable.java b/AlgebraicDataflowArchitectureModel/src/algorithm/EdgeTransitionSelectable.java index d9268a0..8e9b51a 100644 --- a/AlgebraicDataflowArchitectureModel/src/algorithm/EdgeTransitionSelectable.java +++ b/AlgebraicDataflowArchitectureModel/src/algorithm/EdgeTransitionSelectable.java @@ -23,12 +23,15 @@ static private void trackEdges(Node n) { PushPullAttribute ppat = new PushPullAttribute(); - ppat.addOption(PushPullValue.PUSH); + ppat.addOption(PushPullValue.PUSH);/* for (Node pre : n.getPredecessors()) { for (Edge in : n.getInEdges()) { ((ResourceDependency) in).setAttribute(ppat); } trackEdges(pre); + }*/ + for(Edge e:((ResourceNode) n).getInEdges()) { + ((ResourceDependency) e).setAttribute(ppat); } } }