8template<
typename ValueType>
12namespace modelchecker {
15template<
typename ValueType>
16class DsMpiDtmcPriorityLess;
18template<
typename ValueType>
30 std::vector<ValueType>
const& oneStepTargetProbabilities);
69 std::vector<ValueType>
p;
70 std::vector<ValueType>
w;
77template<
typename ValueType>
80template<
typename ValueType>
92 std::vector<ValueType>
const& oneStepTargetProbabilities);
95 virtual void sweep()
override;
96 virtual ValueType computeLambda()
const override;
97 virtual uint64_t getStateForChoice(uint64_t choice)
const override;
98 uint64_t getChoiceInState(uint64_t state)
const;
99 void setChoiceInState(uint64_t state, uint64_t choice);
101 std::vector<uint64_t> choiceToState;
102 std::vector<uint64_t> policy;
virtual void sweep()
Performs a Dijkstra sweep.
virtual ValueType computeLambda() const
Computes the lambda used for the estimation.
storm::storage::SparseMatrix< ValueType > const & transitionMatrix
ValueType computeLambdaForChoice(uint64_t choice) const
Computes the lambda just for the provided choice.
std::vector< ValueType > const & originalOneStepTargetProbabilities
virtual ~DsMpiDtmcUpperRewardBoundsComputer()=default
std::vector< ValueType > p
std::vector< ValueType > const & originalRewards
std::vector< ValueType > computeUpperBounds()
Computes upper bounds on the expected rewards.
storm::storage::SparseMatrix< ValueType > backwardTransitions
std::vector< ValueType > targetProbabilities
virtual uint64_t getStateForChoice(uint64_t choice) const
Retrieves the state associated with the given choice.
std::vector< ValueType > rewards
std::vector< ValueType > w
A class that holds a possibly non-square matrix in the compressed row storage format.