浏览代码

Updated c# docs to avoid confusing Decision in ODD with Decision.cs

/develop-generalizationTraining-TrainerController
Marwan Mattar 6 年前
当前提交
6d29c6ed
共有 2 个文件被更改,包括 5 次插入5 次删除
  1. 8
      unity-environment/Assets/ML-Agents/Scripts/Agent.cs
  2. 2
      unity-environment/Assets/ML-Agents/Scripts/CoreBrainHeuristic.cs

8
unity-environment/Assets/ML-Agents/Scripts/Agent.cs


public bool resetOnDone = true;
/// <summary>
/// Whether to enable On Demand Decision Making or make a decision at
/// Whether to enable On Demand Decisions or make a decision at
/// Number of actions between decisions (used when On Demand Decision
/// Making is turned off).
/// Number of actions between decisions (used when On Demand Decisions
/// is turned off).
/// </summary>
public int numberOfActionsBetweenDecisions;
}

int stepCount;
// Flag to signify that an agent has been reset but the fact that it is
// done has not been communicated (required for On Demand Decision Making).
// done has not been communicated (required for On Demand Decisions).
bool hasAlreadyReset;
// Flag to signify that an agent is done and should not reset until

2
unity-environment/Assets/ML-Agents/Scripts/CoreBrainHeuristic.cs


using UnityEditor;
#endif
/// CoreBrain which decides actions using developer-provided Decision.cs script.
/// CoreBrain which decides actions using developer-provided Decision script.
public class CoreBrainHeuristic : ScriptableObject, CoreBrain
{
[SerializeField]

正在加载...
取消
保存