Struct AgentInfo
Struct that contains all the information for an Agent, including its observations, actions and current status.
Inherited Members
Namespace: Unity.MLAgents
Assembly: solution.dll
Syntax
public struct AgentInfo
Fields
| Name | Description |
|---|---|
| discreteActionMasks | For discrete control, specifies the actions that the agent cannot take.
An element of the mask array is |
| done | Whether the agent is done or not. |
| episodeId | Episode identifier each agent receives at every reset. It is used to separate between different agents in the environment. |
| groupId | MultiAgentGroup identifier. |
| groupReward | The current group reward received by the agent. |
| maxStepReached | Whether the agent has reached its max step count for this episode. |
| reward | The current agent reward. |
| storedActions | Keeps track of the last actions taken by the Brain. |
Methods
| Name | Description |
|---|---|
| ClearActions() | |
| CopyActions(ActionBuffers) |