eprllib.AgentsConnectors.FullySharedParametersConnector#
Fully Shared Parameters Agents Connector#
This module implements a fully shared parameters policy for the observation function.
The flat observation for each agent must be a numpy array and the size must be equal for all agents. To achieve this, a concatenation of variables is performed, which includes:
AgentID one-hot encoded vector
Agent state
Actuators state (including other agents)
Notes:#
The number of actuators for other agents is variable. Consider changing the actuator state for agent action or finding a way to expand the observation space to adapt to different observation sizes.
Classes
|