Browse Source

NondetModelChecker.checkRewardCoSafeLTL: We have to intersect the goal states (AcceptanceReach) with model.getReach()

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11398 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Joachim Klein 10 years ago
parent
commit
fd6aa0814d
  1. 2
      prism/src/prism/NondetModelChecker.java

2
prism/src/prism/NondetModelChecker.java

@ -1474,6 +1474,8 @@ public class NondetModelChecker extends NonProbModelChecker
// For a DFA, just collect the accept states
mainLog.println("\nSkipping end component detection since DRA is a DFA...");
acc = ((AcceptanceReachDD) acceptance).getGoalStates();
JDD.Ref(modelProduct.getReach());
acc = JDD.And(acc, modelProduct.getReach());
} else {
// Usually, we have to detect end components in the product
mainLog.println("\nFinding accepting end components...");

Loading…
Cancel
Save