Storm 2.0.0.3
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
PreprocessingPomdpValueBoundsModelChecker.h
Go to the documentation of this file.
1#pragma once
2
6
7namespace storm {
8class Environment;
9namespace modelchecker {
10template<typename FormulaType, typename ValueType>
11class CheckTask;
12class CheckResult;
13} // namespace modelchecker
14namespace logic {
15class Formula;
16}
17namespace pomdp::modelchecker {
18template<typename PomdpType>
20 public:
21 using PomdpValueType = typename PomdpType::ValueType;
24
25 explicit PreprocessingPomdpValueBoundsModelChecker(PomdpType const& pomdp);
26
29
31
33
36
38
41
42 private:
43 PomdpType const& pomdp;
44
45 std::vector<PomdpValueType> getChoiceValues(std::vector<PomdpValueType> const& stateValues, std::vector<PomdpValueType>* actionBasedRewards);
46
47 std::pair<std::vector<PomdpValueType>, storm::storage::Scheduler<PomdpValueType>> computeValuesForGuessedScheduler(
48 storm::Environment const& env, std::vector<PomdpValueType> const& stateValues, std::vector<PomdpValueType>* actionBasedRewards,
50 std::shared_ptr<storm::models::sparse::Mdp<PomdpValueType>> underlyingMdp, PomdpValueType const& scoreThreshold, bool relativeScore);
51
52 std::pair<std::vector<PomdpValueType>, storm::storage::Scheduler<PomdpValueType>> computeValuesForRandomFMPolicy(
53 storm::Environment const& env, storm::logic::Formula const& formula, storm::pomdp::analysis::FormulaInformation const& info, uint64_t memoryBound);
54
55 [[maybe_unused]] std::pair<std::vector<PomdpValueType>, storm::storage::Scheduler<PomdpValueType>> computeValuesForRandomMemorylessPolicy(
57 std::shared_ptr<storm::models::sparse::Mdp<PomdpValueType>> underlyingMdp);
58};
59} // namespace pomdp::modelchecker
60} // namespace storm
This class represents a (discrete-time) Markov decision process.
Definition Mdp.h:16
ValueBounds getValueBounds(storm::logic::Formula const &formula)
Computes quantitative bounds, ignoring operator thresholds and leaving the formula unchanged.
ExtremeValueBound getExtremeValueBound(storm::logic::Formula const &formula)
Computes a quantitative extreme bound, ignoring the operator threshold and leaving the formula unchan...
pomdp::storage::PreprocessingPomdpValueBounds< PomdpValueType > ValueBounds
This class defines which action is chosen in a particular state of a non-deterministic model.
Definition Scheduler.h:18
The contract of a DD backend.
Struct to store the extreme bound values needed for the reward correction values when clipping is use...
Struct for storing precomputed values bounding the actual values on the POMDP.