Interface ICommunicator
Inherited Members
Namespace: Unity.MLAgents
Assembly: solution.dll
Syntax
public interface ICommunicator : IDisposable
Methods
| Name | Description |
|---|---|
| DecideBatch() | Signals the ICommunicator that the Agents are now ready to receive their action and that if the communicator has not yet received an action for one of the Agents it needs to get one at this point. |
| GetActions(string, int) | Gets the AgentActions based on the batching key. |
| Initialize(CommunicatorInitParameters, out UnityRLInitParameters) | Sends the academy parameters through the Communicator. Is used by the academy to send the AcademyParameters to the communicator. |
| PutObservations(string, AgentInfo, List<ISensor>) | Sends the observations of one Agent. |
| SubscribeBrain(string, ActionSpec) | Registers a new Brain to the Communicator. |
Events
| Name | Description |
|---|---|
| QuitCommandReceived | Quit was received by the communicator. |
| ResetCommandReceived | Reset command sent back from the communicator. |