|
|
@ -34,7 +34,7 @@ namespace storm { |
|
|
|
template<typename SparseMarkovAutomatonModelType> |
|
|
|
bool SparseMarkovAutomatonCslModelChecker<SparseMarkovAutomatonModelType>::canHandle(CheckTask<storm::logic::Formula, ValueType> const& checkTask) const { |
|
|
|
storm::logic::Formula const& formula = checkTask.getFormula(); |
|
|
|
if(formula.isInFragment(storm::logic::csl().setGloballyFormulasAllowed(false).setNextFormulasAllowed(false).setReachabilityRewardFormulasAllowed(true).setTimeAllowed(true).setLongRunAverageProbabilitiesAllowed(true))) { |
|
|
|
if(formula.isInFragment(storm::logic::csl().setGloballyFormulasAllowed(false).setNextFormulasAllowed(false).setRewardOperatorsAllowed(true).setReachabilityRewardFormulasAllowed(true).setTimeAllowed(true).setLongRunAverageProbabilitiesAllowed(true).setLongRunAverageRewardFormulasAllowed(true))) { |
|
|
|
return true; |
|
|
|
} else { |
|
|
|
// Check whether we consider a multi-objective formula
|
|
|
|