Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
LowerUpperBoundsComputer.h
Go to the documentation of this file.
1#pragma once
2
3#include <optional>
4#include <vector>
5
7
8namespace storm::storage {
9class BitVector;
10template<typename ValueType>
11class SparseMatrix;
12} // namespace storm::storage
13
14namespace storm::modelchecker {
15
24template<typename ValueType, bool Lower>
25std::vector<ValueType> computeLowerOrUpperBoundsTotalReward(storm::storage::SparseMatrix<ValueType> const& matrix, std::vector<ValueType> const& offsets,
26 storm::storage::BitVector const& exitRows, std::vector<ValueType> const& exitProbabilities,
27 std::optional<storm::OptimizationDirection> dir = {});
28
29} // namespace storm::modelchecker
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.
std::vector< ValueType > computeLowerOrUpperBoundsTotalReward(storm::storage::SparseMatrix< ValueType > const &matrix, std::vector< ValueType > const &offsets, storm::storage::BitVector const &exitRows, std::vector< ValueType > const &exitProbabilities, std::optional< storm::OptimizationDirection > dir)
Computes for each state a lower (if Lower is true) or an upper (otherwise) bound on the optimal total...