Browse Source

Enable checking MDP models from the CLI

Former-commit-id: fa0555dd74
tempestpy_adaptions
svkurowski 10 years ago
parent
commit
30b9811512
  1. 5
      src/utility/cli.h

5
src/utility/cli.h

@ -327,6 +327,11 @@ namespace storm {
modelchecker::prctl::SparseDtmcPrctlModelChecker<double> modelchecker(*dtmc); modelchecker::prctl::SparseDtmcPrctlModelChecker<double> modelchecker(*dtmc);
filterFormula->check(modelchecker); filterFormula->check(modelchecker);
} }
if (model->getType() == storm::models::MDP) {
std::shared_ptr<storm::models::Mdp<double>> mdp = model->as<storm::models::Mdp<double>>();
modelchecker::prctl::SparseMdpPrctlModelChecker<double> modelchecker(*mdp);
filterFormula->check(modelchecker);
}
} }
} }
} }

Loading…
Cancel
Save