eprllib.Agents.AgentSpec#
Defining agents#
This module implements the classes to define agents. Agents are defined by the AgentSpec class. This class
contains the observation, filter, action, action_mapper, and reward specifications. The observation is defined by the
ObservationSpec class. The filter is defined by the FilterSpec class. The action is defined by the ActionSpec class.
The action_mapper is defined by the ActionMapperSpec class. The reward is defined by the RewardSpec class.
The AgentSpec class has a method called build that is used to build the AgentSpec object. This method is used to
validate the properties of the object and to return the object as a dictionary. It is used internally when you build
the environment to provide it to RLlib.
Classes
|
AgentSpec is the base class for an agent specification to safe configuration of the object. |