您最多选择25个主题
主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
26 行
671 B
26 行
671 B
namespace Unity.MLAgents
|
|
{
|
|
/// <summary>
|
|
/// MultiAgentGroup interface for grouping agents to support multi-agent training.
|
|
/// </summary>
|
|
public interface IMultiAgentGroup
|
|
{
|
|
/// <summary>
|
|
/// Get the ID of MultiAgentGroup.
|
|
/// </summary>
|
|
/// <returns>
|
|
/// MultiAgentGroup ID.
|
|
/// </returns>
|
|
int GetId();
|
|
|
|
/// <summary>
|
|
/// Register agent to the MultiAgentGroup.
|
|
/// </summary>
|
|
void RegisterAgent(Agent agent);
|
|
|
|
/// <summary>
|
|
/// Unregister agent from the MultiAgentGroup.
|
|
/// </summary>
|
|
void UnregisterAgent(Agent agent);
|
|
}
|
|
}
|