Storm 1.10.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
MemoryIncorporation.h
Go to the documentation of this file.
1#pragma once
2
3#include <memory>
4
9
10namespace storm {
11namespace transformer {
12
18template<class SparseModelType>
20 typedef typename SparseModelType::ValueType ValueType;
21 typedef typename SparseModelType::RewardModelType RewardModelType;
22
23 public:
28 static std::shared_ptr<SparseModelType> incorporateGoalMemory(SparseModelType const& model,
29 std::vector<std::shared_ptr<storm::logic::Formula const>> const& formulas);
30
35 static std::pair<std::shared_ptr<SparseModelType>, storm::storage::SparseModelMemoryProductReverseData> incorporateGoalMemoryWithReverseData(
36 SparseModelType const& model, std::vector<std::shared_ptr<storm::logic::Formula const>> const& formulas);
37
41 static std::shared_ptr<SparseModelType> incorporateFullMemory(SparseModelType const& model, uint64_t memoryStates);
42
46 static std::shared_ptr<SparseModelType> incorporateCountingMemory(SparseModelType const& model, uint64_t memoryStates);
47};
48} // namespace transformer
49} // namespace storm
Data to restore memory incorporation applied with SparseModelMemoryProduct.
Incorporates Memory into the state space of the given model, that is the resulting model is the cross...
static std::shared_ptr< SparseModelType > incorporateFullMemory(SparseModelType const &model, uint64_t memoryStates)
Incorporates a memory structure where the nondeterminism of the model decides which successor state t...
static std::pair< std::shared_ptr< SparseModelType >, storm::storage::SparseModelMemoryProductReverseData > incorporateGoalMemoryWithReverseData(SparseModelType const &model, std::vector< std::shared_ptr< storm::logic::Formula const > > const &formulas)
Like incorporateGoalMemory, but also returns data necessary to translate results (in particular sched...
static std::shared_ptr< SparseModelType > incorporateGoalMemory(SparseModelType const &model, std::vector< std::shared_ptr< storm::logic::Formula const > > const &formulas)
Incorporates memory that stores whether a 'goal' state has already been reached.
static std::shared_ptr< SparseModelType > incorporateCountingMemory(SparseModelType const &model, uint64_t memoryStates)
Incorporates a memory structure where the nondeterminism of the model can increment a counter.
LabParser.cpp.