|
Storm 1.11.1.1
A Modern Probabilistic Model Checker
|
This class allows efficient instantiation of the given parametric model. More...
#include <ModelInstantiator.h>
Public Types | |
| typedef ParametricSparseModelType::ValueType | ParametricType |
| typedef storm::utility::parametric::VariableType< ParametricType >::type | VariableType |
| typedef storm::utility::parametric::CoefficientType< ParametricType >::type | CoefficientType |
| typedef ConstantSparseModelType::ValueType | ConstantType |
Public Member Functions | |
| ModelInstantiator (ParametricSparseModelType const ¶metricModel) | |
| Constructs a ModelInstantiator. | |
| virtual | ~ModelInstantiator () |
| Destructs the ModelInstantiator. | |
| ConstantSparseModelType const & | instantiate (storm::utility::parametric::Valuation< ParametricType > const &valuation) |
| Evaluates the occurring parametric functions and retrieves the instantiated model. | |
| void | checkValid () const |
| Check validity. | |
This class allows efficient instantiation of the given parametric model.
The key to efficiency is to evaluate every distinct transition- (or reward-) function only once instead of evaluating the same function for each occurrence in the model.
Definition at line 25 of file ModelInstantiator.h.
| typedef storm::utility::parametric::CoefficientType<ParametricType>::type storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::CoefficientType |
Definition at line 29 of file ModelInstantiator.h.
| typedef ConstantSparseModelType::ValueType storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::ConstantType |
Definition at line 30 of file ModelInstantiator.h.
| typedef ParametricSparseModelType::ValueType storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::ParametricType |
Definition at line 27 of file ModelInstantiator.h.
| typedef storm::utility::parametric::VariableType<ParametricType>::type storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::VariableType |
Definition at line 28 of file ModelInstantiator.h.
| storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::ModelInstantiator | ( | ParametricSparseModelType const & | parametricModel | ) |
Constructs a ModelInstantiator.
| parametricModel | The model that is to be instantiated |
Definition at line 10 of file ModelInstantiator.cpp.
|
virtual |
Destructs the ModelInstantiator.
Definition at line 32 of file ModelInstantiator.cpp.
| void storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::checkValid | ( | ) | const |
Check validity.
Definition at line 160 of file ModelInstantiator.cpp.
| ConstantSparseModelType const & storm::utility::ModelInstantiator< ParametricSparseModelType, ConstantSparseModelType >::instantiate | ( | storm::utility::parametric::Valuation< ParametricType > const & | valuation | ) |
Evaluates the occurring parametric functions and retrieves the instantiated model.
| valuation | Maps each occurring variables to the value with which it should be substituted |
Definition at line 143 of file ModelInstantiator.cpp.