Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
NondeterministicModelStateEliminator.h
Go to the documentation of this file.
1#pragma once
2
4
5namespace storm {
6namespace solver {
7namespace stateelimination {
8
9template<typename ValueType>
11 public:
13 storm::storage::FlexibleSparseMatrix<ValueType>& backwardTransitions, std::vector<ValueType>& rowValues);
14
15 // Instantiation of virtual methods.
16 virtual void updateValue(storm::storage::sparse::state_type const& row, ValueType const& loopProbability) override;
17 virtual void updatePredecessor(storm::storage::sparse::state_type const& predecessorRow, ValueType const& probability,
18 storm::storage::sparse::state_type const& row) override;
19
20 protected:
21 std::vector<ValueType>& rowValues;
22};
23
24} // namespace stateelimination
25} // namespace solver
26} // namespace storm
virtual void updatePredecessor(storm::storage::sparse::state_type const &predecessorRow, ValueType const &probability, storm::storage::sparse::state_type const &row) override
virtual void updateValue(storm::storage::sparse::state_type const &row, ValueType const &loopProbability) override
NondeterministicModelStateEliminator(storm::storage::FlexibleSparseMatrix< ValueType > &transitionMatrix, storm::storage::FlexibleSparseMatrix< ValueType > &backwardTransitions, std::vector< ValueType > &rowValues)
StateEliminator(storm::storage::FlexibleSparseMatrix< ValueType > &transitionMatrix, storm::storage::FlexibleSparseMatrix< ValueType > &backwardTransitions)
The flexible sparse matrix is used during state elimination.