ethicalgardeners.observation.ObservationStrategy¶
- class ethicalgardeners.observation.ObservationStrategy[source]¶
Bases:
ABCAbstract base class defining the interface for observation strategies.
Observation strategies determine how agents perceive the environment, defining the structure of the observation space and how observations are generated from the world state.
Methods
__init__()Create the observation strategy.
get_observation(grid_world, agent)Generate an observation for an agent based on the current world state.
observation_space(agent)Define the observation space for a specific agent.