Browse Source

symbolic CTL: does not support fairness at the moment

git-svn-id: https://www.prismmodelchecker.org/svn/prism/prism/trunk@11183 bbc10eb1-c90d-0410-af57-cb519fbb1720
master
Joachim Klein 10 years ago
parent
commit
6231865f48
  1. 8
      prism/src/prism/NonProbModelChecker.java

8
prism/src/prism/NonProbModelChecker.java

@ -104,6 +104,10 @@ public class NonProbModelChecker extends StateModelChecker
throw new PrismNotSupportedException("(Non-probabilistic) LTL model checking is not supported"); throw new PrismNotSupportedException("(Non-probabilistic) LTL model checking is not supported");
} }
if (prism.getFairness()) {
throw new PrismNotSupportedException("Non-probabilistic CTL model checking is not supported with fairness");
}
// Negation/parentheses // Negation/parentheses
if (expr instanceof ExpressionUnaryOp) { if (expr instanceof ExpressionUnaryOp) {
ExpressionUnaryOp exprUnary = (ExpressionUnaryOp) expr; ExpressionUnaryOp exprUnary = (ExpressionUnaryOp) expr;
@ -162,6 +166,10 @@ public class NonProbModelChecker extends StateModelChecker
throw new PrismNotSupportedException("(Non-probabilistic) LTL model checking is not supported"); throw new PrismNotSupportedException("(Non-probabilistic) LTL model checking is not supported");
} }
if (prism.getFairness()) {
throw new PrismNotSupportedException("Non-probabilistic CTL model checking is not supported with fairness");
}
// Negation/parentheses // Negation/parentheses
if (expr instanceof ExpressionUnaryOp) { if (expr instanceof ExpressionUnaryOp) {
ExpressionUnaryOp exprUnary = (ExpressionUnaryOp) expr; ExpressionUnaryOp exprUnary = (ExpressionUnaryOp) expr;

Loading…
Cancel
Save