popgym.core.observability

Module Contents

Classes

Observability

Defines the observability level of the environment.

Attributes

OBS

STATE

popgym.core.observability.OBS = 'obs'
popgym.core.observability.STATE = 'state'
class popgym.core.observability.Observability

Bases: enum.IntEnum

Defines the observability level of the environment.

To be used with popgym.wrappers.ObservabilityWrapper.

  • PARTIAL: Partial observation, the Markov state is not returned.

  • FULL_IN_INFO_DICT: Partial observation, the Markov state is provided

    by the info dict.

  • FULL: The Markov state is used as observation.

  • FULL_AND_PARTIAL: The observation is a dict {“obs”: obs, “state”: state}.

PARTIAL = 0
FULL_IN_INFO_DICT = 1
FULL = 2
FULL_AND_PARTIAL = 3