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, trigger, 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 trigger is defined by the TriggerSpec
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
|
ActionSpec is the base class for an action specification to safe configuration of the object. |
|
AgentSpec is the base class for an agent specification to safe configuration of the object. |
|
FilterSpec is the base class for a filter specification to safe configuration of the object. |
|
ObservationSpec is the base class for an observation specification to safe configuration of the object. |
|
RewardSpec is the base class for an reward specification to safe configuration of the object. |
|
TriggerSpec is the base class for a trigger specification to safe configuration of the object. |