Skip to content
Snippets Groups Projects
Commit b67ab930 authored by tempiaa's avatar tempiaa
Browse files

Small fix in avatar model-checker

parent ea524f78
No related branches found
No related tags found
1 merge request!325Avatar model-checker improvements
...@@ -333,6 +333,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph { ...@@ -333,6 +333,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
computeRG = true; computeRG = true;
startModelChecking(); startModelChecking();
} }
studyLiveness = true;
return true; return true;
} }
...@@ -415,6 +416,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph { ...@@ -415,6 +416,7 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
//states.put(initialState.hashValue, initialState); //states.put(initialState.hashValue, initialState);
//statesByID.put(initialState.id, initialState); //statesByID.put(initialState.id, initialState);
pendingStates.add(initialState); pendingStates.add(initialState);
nbOfCurrentComputations = 0;
if (timeLimitRG) { if (timeLimitRG) {
computeAllStatesTime(); computeAllStatesTime();
...@@ -527,7 +529,6 @@ public class AvatarModelChecker implements Runnable, myutil.Graph { ...@@ -527,7 +529,6 @@ public class AvatarModelChecker implements Runnable, myutil.Graph {
if (timeLimitReached || livenessDone) { if (timeLimitReached || livenessDone) {
emptyPendingStates(); emptyPendingStates();
notifyAll();
return; return;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment