Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/lip6/ITSTools.git
Browse files Browse the repository at this point in the history
  • Loading branch information
yanntm committed Apr 25, 2023
2 parents 61f8753 + 4f3a703 commit 2e08428
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -671,6 +671,7 @@ public Object startNoEx(IApplicationContext context) throws Exception {
int solved = logicSolver.preSolveForLogic(reader, doneProps, false);
if (solved > 0) {
if (reader.getSPN().getProperties().isEmpty()) {
allSolved(pwd,examination);
return null;
}
}
Expand Down Expand Up @@ -1036,6 +1037,7 @@ public Object startNoEx(IApplicationContext context) throws Exception {
if (doneProps.keySet().containsAll(
reader.getSPN().getProperties().stream().map(p -> p.getName()).collect(Collectors.toList()))) {
System.out.println("All properties solved without resorting to model-checking.");
allSolved(pwd,examination);
return null;
} else
tryRebuildPNML(pwd, examination, rebuildPNML, reader, doneProps);
Expand Down

0 comments on commit 2e08428

Please sign in to comment.