浏览代码

Remove time rewarad

/develop/zombieteammanager/disableagent
Ervin Teng 4 年前
当前提交
ad56df0b
共有 1 个文件被更改,包括 0 次插入4 次删除
  1. 4
      Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs

4
Project/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentCollab.cs


/// Called every step of the engine. Here the agent takes an action.
/// </summary>
public override void OnActionReceived(ActionBuffers actionBuffers)
{
if (!frozen)
{

// Penalty given each step to encourage agent to finish task quickly.
AddReward(-0.1f / 5000);
}
public override void Heuristic(in ActionBuffers actionsOut)

正在加载...
取消
保存