Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseInstantiationModelChecker.cpp
Go to the documentation of this file.
2
8
10
11namespace storm {
12namespace modelchecker {
13
14template<typename SparseModelType, typename ConstantType>
16 : parametricModel(parametricModel), instantiationsAreGraphPreserving(false) {
17 // Intentionally left empty
18}
19
20template<typename SparseModelType, typename ConstantType>
23 currentFormula = checkTask.getFormula().asSharedPointer();
24 currentCheckTask = std::make_unique<storm::modelchecker::CheckTask<storm::logic::Formula, ConstantType>>(
25 checkTask.substituteFormula(*currentFormula).template convertValueType<ConstantType>());
26}
27
28template<typename SparseModelType, typename ConstantType>
30 instantiationsAreGraphPreserving = value;
31}
32
33template<typename SparseModelType, typename ConstantType>
37
38template<typename SparseModelType, typename ConstantType>
40 return parametricModel;
41}
42
46
50
51} // namespace modelchecker
52} // namespace storm
CheckTask< NewFormulaType, ValueType > substituteFormula(NewFormulaType const &newFormula) const
Copies the check task from the source while replacing the formula with the new one.
Definition CheckTask.h:52
FormulaType const & getFormula() const
Retrieves the formula from this task.
Definition CheckTask.h:140
Class to efficiently check a formula on a parametric model with different parameter instantiations.
SparseInstantiationModelChecker(SparseModelType const &parametricModel)
void specifyFormula(CheckTask< storm::logic::Formula, typename SparseModelType::ValueType > const &checkTask)
LabParser.cpp.
Definition cli.cpp:18