Class SimpleMultiAgentGroup
A basic class implementation of MultiAgentGroup.
Inherited Members
Namespace: Unity.MLAgents
Assembly: solution.dll
Syntax
public class SimpleMultiAgentGroup : IMultiAgentGroup, IDisposable
Methods
| Name | Description |
|---|---|
| AddGroupReward(float) | Increments the group rewards for all agents in this MultiAgentGroup. |
| Dispose() | Disposes of the SimpleMultiAgentGroup. |
| EndGroupEpisode() | End episodes for all agents in this MultiAgentGroup. |
| GetId() | Get the ID of MultiAgentGroup. |
| GetRegisteredAgents() | Get list of all agents currently registered to this MultiAgentGroup. |
| GroupEpisodeInterrupted() | Indicate that the episode is over but not due to the "fault" of the group. This has the same end result as calling EndGroupEpisode(), but has a slightly different effect on training. |
| RegisterAgent(Agent) | Register agent to the MultiAgentGroup. |
| SetGroupReward(float) | Set the group rewards for all agents in this MultiAgentGroup. |
| UnregisterAgent(Agent) | Unregister agent from the MultiAgentGroup. |