浏览代码

modified comments

/develop-generalizationTraining-TrainerController
Vincent Gao 7 年前
当前提交
933317be
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. 6
      unity-environment/Assets/ML-Agents/Scripts/Agent.cs
  2. 2
      unity-environment/Assets/ML-Agents/Scripts/Decision.cs

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


///</summary>
private float reward;
/// Whether or not the agent is requests an action
/// Whether or not the agent requests an action
/// Whether or not the agent is requests a decision
/// Whether or not the agent requests a decision
private bool requestDecision;
/// <summary>

private int id;
/// <summary>
/// Unity method called when the agent is istanciated or set to active.
/// Unity method called when the agent is instantiated or set to active.
/// </summary>
private void OnEnable()
{

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


* @param state The state of the agent
* @param observation The cameras the agent uses
* @param reward The reward the agent had at the previous step
* @param done Weather or not the agent is done
* @param done Whether or not the agent is done
* @param memory The memories stored from the previous step with MakeMemory()
* @return The vector of actions the agent will take at the next step
*/

正在加载...
取消
保存