docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Interface ICommunicator

    Inherited Members
    IDisposable.Dispose()
    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.

    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023