stormvogel.model.observation

Classes

Observation

Represent an observation of a state (for POMDPs and HMMs).

Module Contents

class stormvogel.model.observation.Observation

Represent an observation of a state (for POMDPs and HMMs).

Parameters:
  • alias – Human-readable name for the observation.

  • observation_id – Unique identifier for the observation.

  • valuations – Optional mapping of variable names to observed values.

model: stormvogel.model.Model
observation_id: uuid.UUID
property valuations: dict[stormvogel.model.variable.VariableKey, Any]

Return the variable- and predicate-value pairs observed in this observation.

property alias: str

Return the alias of this observation.

display()

Format the observation for visualizations.

__repr__()
__str__