Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
SparseInstantiationModelChecker.cpp
Go to the documentation of this file.
2
8
9namespace storm {
10namespace modelchecker {
11
12template<typename SparseModelType, typename ConstantType>
14 : env(env), parametricModel(parametricModel), instantiationsAreGraphPreserving(false) {
15 // Intentionally left empty
16}
17
18template<typename SparseModelType, typename ConstantType>
21 currentFormula = checkTask.getFormula().asSharedPointer();
22 currentCheckTask = std::make_unique<storm::modelchecker::CheckTask<storm::logic::Formula, ConstantType>>(
23 checkTask.substituteFormula(*currentFormula).template convertValueType<ConstantType>());
24}
25
26template<typename SparseModelType, typename ConstantType>
28 instantiationsAreGraphPreserving = value;
29}
30
31template<typename SparseModelType, typename ConstantType>
35
36template<typename SparseModelType, typename ConstantType>
40
44
48
49} // namespace modelchecker
50} // 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:53
FormulaType const & getFormula() const
Retrieves the formula from this task.
Definition CheckTask.h:141
Class to efficiently check a formula on a parametric model with different parameter instantiations.
void specifyFormula(CheckTask< storm::logic::Formula, typename SparseModelType::ValueType > const &checkTask)
SparseInstantiationModelChecker(Environment const &env, SparseModelType const &parametricModel)
std::unique_ptr< CheckTask< storm::logic::Formula, ConstantType > > currentCheckTask