9template<
typename ValueType>
12 return lower[scheduler_id][state];
15template<
typename ValueType>
18 return upper[scheduler_id][state];
21template<
typename ValueType>
24 auto it =
lower.begin();
25 ValueType result = (*it)[state];
26 for (++it; it !=
lower.end(); ++it) {
27 result = std::max(result, (*it)[state]);
32template<
typename ValueType>
35 auto it =
upper.begin();
36 ValueType result = (*it)[state];
37 for (++it; it !=
upper.end(); ++it) {
38 result = std::min(result, (*it)[state]);
43template<
typename ValueType>
#define STORM_LOG_ASSERT(cond, message)
Struct to store the extreme bound values needed for the reward correction values when clipping is use...
std::vector< ValueType > values
ValueType getValueForState(uint64_t const &state)
Get the extreme bound value for a given state.
Struct for storing precomputed values bounding the actual values on the POMDP.
std::vector< std::vector< ValueType > > upper
ValueType getLowerBound(uint64_t scheduler_id, uint64_t const &state)
Picks the precomputed lower bound for a given scheduler index and state of the POMDP.
std::vector< std::vector< ValueType > > lower
ValueType getHighestLowerBound(uint64_t const &state)
Picks the largest precomputed lower bound for a given state of the POMDP.
ValueType getSmallestUpperBound(uint64_t const &state)
Picks the smallest precomputed upper bound for a given state of the POMDP.
ValueType getUpperBound(uint64_t scheduler_id, uint64_t const &state)
Picks the precomputed upper bound for a given scheduler index and state of the POMDP.