|
|
@ -1034,7 +1034,7 @@ public class ProbModelChecker extends NonProbModelChecker |
|
|
if (Expression.isReach(expr)) { |
|
|
if (Expression.isReach(expr)) { |
|
|
return checkRewardReach(model, modelRewards, (ExpressionTemporal) expr, minMax, statesOfInterest); |
|
|
return checkRewardReach(model, modelRewards, (ExpressionTemporal) expr, minMax, statesOfInterest); |
|
|
} |
|
|
} |
|
|
else if (Expression.isCoSafeLTLSyntactic(expr)) { |
|
|
|
|
|
|
|
|
else if (Expression.isCoSafeLTLSyntactic(expr, true)) { |
|
|
return checkRewardCoSafeLTL(model, modelRewards, expr, minMax, statesOfInterest); |
|
|
return checkRewardCoSafeLTL(model, modelRewards, expr, minMax, statesOfInterest); |
|
|
} |
|
|
} |
|
|
throw new PrismException("R operator contains a path formula that is not syntactically co-safe: " + expr); |
|
|
throw new PrismException("R operator contains a path formula that is not syntactically co-safe: " + expr); |
|
|
|