Storm 1.14.0.1
A Modern Probabilistic Model Checker
Loading...
Searching...
No Matches
types.h
Go to the documentation of this file.
1#pragma once
2#include <boost/container/flat_map.hpp>
3
4#include <cstdint>
5#include <limits>
6
7namespace storm::pomdp::beliefs {
8
10using BeliefStateType = uint64_t;
11using BeliefObservationType = uint32_t;
12using BeliefId = uint64_t;
15
16template<typename BeliefValueType>
17using BeliefFlatMap = boost::container::flat_map<BeliefStateType, BeliefValueType>;
18constexpr bool BeliefFlatMapIsOrdered = true;
19
20constexpr BeliefObservationType InvalidObservation = std::numeric_limits<BeliefObservationType>::max();
21constexpr BeliefId InvalidBeliefId = std::numeric_limits<BeliefId>::max();
22
23} // namespace storm::pomdp::beliefs
constexpr BeliefId InvalidBeliefId
Definition types.h:21
constexpr BeliefObservationType InvalidObservation
Required e.g. for comparing two beliefs.
Definition types.h:20
uint64_t BeliefId
Definition types.h:12
constexpr BeliefActionObservationType DefaultActionObservation
Definition types.h:14
uint64_t BeliefStateType
Shared identifiers and sparse-container types used by the belief subsystem.
Definition types.h:10
uint32_t BeliefObservationType
Definition types.h:11
constexpr bool BeliefFlatMapIsOrdered
Definition types.h:18
uint32_t BeliefActionObservationType
Definition types.h:13
boost::container::flat_map< BeliefStateType, BeliefValueType > BeliefFlatMap
Definition types.h:17