Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseMdpInstantiationModelChecker.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
11
12namespace storm {
13namespace modelchecker {
14
18template<typename SparseModelType, typename ConstantType>
19class SparseMdpInstantiationModelChecker : public SparseInstantiationModelChecker<SparseModelType, ConstantType> {
20 public:
21 SparseMdpInstantiationModelChecker(SparseModelType const& parametricModel, bool produceScheduler = true);
22
23 virtual std::unique_ptr<CheckResult> check(Environment const& env,
25
26 protected:
27 // Optimizations for the different formula types
28 std::unique_ptr<CheckResult> checkReachabilityProbabilityFormula(
30 storm::models::sparse::Mdp<ConstantType> const& instantiatedModel);
31 std::unique_ptr<CheckResult> checkReachabilityRewardFormula(
33 storm::models::sparse::Mdp<ConstantType> const& instantiatedModel);
34 std::unique_ptr<CheckResult> checkBoundedUntilFormula(
36
39};
40} // namespace modelchecker
41} // namespace storm
Class to efficiently check a formula on a parametric model with different parameter instantiations.
Class to efficiently check a formula on a parametric model with different parameter instantiations.
std::unique_ptr< CheckResult > checkReachabilityProbabilityFormula(Environment const &env, storm::modelchecker::SparseMdpPrctlModelChecker< storm::models::sparse::Mdp< ConstantType > > &modelChecker, storm::models::sparse::Mdp< ConstantType > const &instantiatedModel)
virtual std::unique_ptr< CheckResult > check(Environment const &env, storm::utility::parametric::Valuation< typename SparseModelType::ValueType > const &valuation) override
storm::utility::ModelInstantiator< SparseModelType, storm::models::sparse::Mdp< ConstantType > > modelInstantiator
std::unique_ptr< CheckResult > checkBoundedUntilFormula(Environment const &env, storm::modelchecker::SparseMdpPrctlModelChecker< storm::models::sparse::Mdp< ConstantType > > &modelChecker)
std::unique_ptr< CheckResult > checkReachabilityRewardFormula(Environment const &env, storm::modelchecker::SparseMdpPrctlModelChecker< storm::models::sparse::Mdp< ConstantType > > &modelChecker, storm::models::sparse::Mdp< ConstantType > const &instantiatedModel)
This class represents a (discrete-time) Markov decision process.
Definition Mdp.h:14
This class allows efficient instantiation of the given parametric model.
std::map< typename VariableType< FunctionType >::type, typename CoefficientType< FunctionType >::type > Valuation
Definition parametric.h:41
LabParser.cpp.
Definition cli.cpp:18