online_pomdp_planning.types module¶
Defines some types for ease of reading
-
online_pomdp_planning.types.Action¶ The abstract type representing actions requires to be hash-able
alias of Hashable
-
class
online_pomdp_planning.types.ActionObservation(action: Hashable, observation: Hashable)[source]¶ Bases:
tupleAction-Observation tuple
Create new instance of ActionObservation(action, observation)
-
property
action¶ Alias for field number 0
-
property
observation¶ Alias for field number 1
-
property
-
class
online_pomdp_planning.types.Belief(*args, **kwds)[source]¶ Bases:
typing_extensions.ProtocolThe abstract type representing beliefs
We expect the belief to sample states
-
online_pomdp_planning.types.History¶ The abstract type of (observable) history: list of action-observation tuples
alias of List[online_pomdp_planning.types.ActionObservation]
-
online_pomdp_planning.types.Info¶ Data type used for information flow from implementation to caller
alias of Dict[str, Any]
-
online_pomdp_planning.types.Observation¶ The abstract type representing observations requires to be hash-able
alias of Hashable
-
class
online_pomdp_planning.types.Planner(*args, **kwds)[source]¶ Bases:
typing_extensions.ProtocolThe abstract class representation for planners in this package
-
class
online_pomdp_planning.types.Simulator(*args, **kwds)[source]¶ Bases:
typing_extensions.ProtocolThe abstract type representing simulators
We expect simulators to map a state and action into a next state, observation, reward and terminal signal
-
online_pomdp_planning.types.State= typing.Any¶ The abstract type for a state, no particular protocol is expected