Class DecisionRequester | ML Agents | 1.1.0-preview
docs.unity3d.com
    Show / Hide Table of Contents

    Class DecisionRequester

    The DecisionRequester component automatically request decisions for an Agent instance at regular intervals.

    Inheritance
    Object
    DecisionRequester
    Namespace: Unity.MLAgents
    Syntax
    public class DecisionRequester : MonoBehaviour
    Remarks

    Attach a DecisionRequester component to the same [GameObject] as the Agent component.

    The DecisionRequester component provides a convenient and flexible way to trigger the agent decision making process. Without a DecisionRequester, your Agent implmentation must manually call its RequestDecision() function.

    Fields

    DecisionPeriod

    The frequency with which the agent requests a decision. A DecisionPeriod of 5 means that the Agent will request a decision every 5 Academy steps. ///

    Declaration
    public int DecisionPeriod
    Field Value
    Type Description
    Int32

    TakeActionsBetweenDecisions

    Indicates whether or not the agent will take an action during the Academy steps where it does not request a decision. Has no effect when DecisionPeriod is set to 1.

    Declaration
    public bool TakeActionsBetweenDecisions
    Field Value
    Type Description
    Boolean
    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