Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
ReachabilityRewardTransformer.h
Go to the documentation of this file.
1#pragma once
2
3#include <optional>
4#include <vector>
5
11
12namespace storm::modelchecker {
13
14template<typename ValueType>
16 public:
17 // TODO: allow symbolic representations, too
19
23
24 TotalRewardSpecification<ValueType> transform(StateSet const& targetStates, std::vector<ValueType> const& actionRewards);
25
26 TotalRewardSpecification<ValueType> transform(std::optional<storm::OptimizationDirection> dir, StateSet const& targetStates,
27 std::vector<ValueType> const& actionRewards);
28
29 // The matrix needs to remain valid throughout the lifetime of this object.
32};
33
34} // namespace storm::modelchecker
storm::storage::SparseMatrix< ValueType > const & transitionMatrix
storm::storage::BackwardTransitionCache< ValueType > backwardTransitionCache
TotalRewardSpecification< ValueType > transform(StateSet const &targetStates, std::vector< ValueType > const &actionRewards)
ReachabilityRewardTransformer(storm::storage::SparseMatrix< ValueType > const &transitionMatrix)
This class caches the backward transitions of a given forward transition matrix.
A bit vector that is internally represented as a vector of 64-bit values.
Definition BitVector.h:16
A class that holds a possibly non-square matrix in the compressed row storage format.
Specifies a total reward query: The goal is to compute (bounds on) the optimal total reward that is c...