Unity 机器学习代理工具包 (ML-Agents) 是一个开源项目,它使游戏和模拟能够作为训练智能代理的环境。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 

25 行
818 B

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace MLAgents
{
/** \brief An interface which defines the functions needed for a CoreBrain. */
/** There is no need to modify or implement CoreBrain to create a Unity environment.
*/
public interface CoreBrain
{
/// Implement setBrain so let the coreBrain know what brain is using it
void SetBrain(Brain b);
/// Implement this method to initialize CoreBrain
void InitializeCoreBrain(MLAgents.Batcher brainBatcher);
/// Implement this method to define the logic for deciding actions
void DecideAction(Dictionary<Agent, AgentInfo> agentInfo);
/// Implement this method to define what should be displayed in the brain Inspector
void OnInspector();
}
}