abstract_actuator
RL4CRN.agent2env_interface.abstract_actuator
Abstract actuator interface.
Defines the minimal interface for an actuator, i.e., a component that converts policy actions (produced by an RL agent) into environment actions (consumable by a CRN environment).
Concrete actuators should implement actuate and specify the expected
structure of policy_action as well as the returned environment action.
AbstractActuator
Base class for actuators mapping policy actions to environment actions.
__init__()
Initialize the actuator.
actuate(policy_action)
Convert a policy action into an environment action.
| PARAMETER | DESCRIPTION |
|---|---|
policy_action
|
Action produced by a policy/agent.
|
| RETURNS | DESCRIPTION |
|---|---|
|
Environment action derived from |