Make the analysis more efficient
authorSeyed Amir Hossein Aqajari <saqajari@circinus-48.ics.uci.edu>
Fri, 6 Dec 2019 20:46:02 +0000 (12:46 -0800)
committerSeyed Amir Hossein Aqajari <saqajari@circinus-48.ics.uci.edu>
Fri, 6 Dec 2019 20:46:02 +0000 (12:46 -0800)
src/main/gov/nasa/jpf/listener/ConflictTracker.java

index a3a42b0f3812ee58b7309de942ccefe0a3c98146..1cd281dcd3823f1b25c9383d9b6219067ae82987 100644 (file)
@@ -112,6 +112,9 @@ public class ConflictTracker extends ListenerAdapter {
        isChanged |= updateTheOutSet(node, nodeToProcess);
       }
 
        isChanged |= updateTheOutSet(node, nodeToProcess);
       }
 
+      // All the changes in parents are propagated
+      parentQueueMap.get(nodeToProcess).clear();
+
       // Check for a conflict if the outSet of nodeToProcess is changed
       if (isChanged) {
         for (Node node : nodeToProcess.getSuccessors()) {
       // Check for a conflict if the outSet of nodeToProcess is changed
       if (isChanged) {
         for (Node node : nodeToProcess.getSuccessors()) {