Storm
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
TimeTravelling.h
Go to the documentation of this file.
1#pragma once
2
3#include <cstdint>
4#include <set>
11
12namespace storm {
13namespace transformer {
14
16 public:
21 TimeTravelling() = default;
31
32 private:
47 void updateTreeStates(std::map<RationalFunctionVariable, std::map<uint64_t, std::set<uint64_t>>>& treeStates,
48 std::map<RationalFunctionVariable, std::set<uint64_t>>& workingSets, storage::FlexibleSparseMatrix<RationalFunction>& flexibleMatrix,
49 const std::set<carl::Variable>& allParameters, const boost::optional<std::vector<RationalFunction>>& stateRewardVector,
50 const models::sparse::StateLabeling stateLabelling, const std::set<std::string> labelsInFormula);
51
62 models::sparse::StateLabeling extendStateLabeling(models::sparse::StateLabeling const& oldLabeling, uint64_t oldSize, uint64_t newSize,
63 uint64_t stateWithLabels, const std::set<std::string> labelsInFormula);
70 std::vector<storm::storage::MatrixEntry<uint64_t, RationalFunction>> joinDuplicateTransitions(
87 bool collapseConstantTransitions(uint64_t state, storage::FlexibleSparseMatrix<RationalFunction>& matrix, std::map<uint64_t, bool>& alreadyVisited,
88 const std::map<RationalFunctionVariable, std::map<uint64_t, std::set<uint64_t>>>& treeStates,
89 const std::set<carl::Variable>& allParameters, const boost::optional<std::vector<RationalFunction>>& stateRewardVector,
90 const models::sparse::StateLabeling stateLabelling, const std::set<std::string> labelsInFormula);
91};
92
93} // namespace transformer
94} // namespace storm
This class represents a discrete-time Markov chain.
Definition Dtmc.h:14
This class manages the labeling of the state space with a number of (atomic) labels.
The flexible sparse matrix is used during state elimination.
models::sparse::Dtmc< RationalFunction > timeTravel(models::sparse::Dtmc< RationalFunction > const &model, modelchecker::CheckTask< logic::Formula, RationalFunction > const &checkTask)
Perform time-travelling on the given model and the given checkTask.
TimeTravelling()=default
This class re-orders parameteric transitions of a pMC so bounds computed by Parameter Lifting will ev...
LabParser.cpp.
Definition cli.cpp:18
carl::Variable RationalFunctionVariable