File size: 799 Bytes
05c9ac2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
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>
/// <param name="agent">The Agent to register.</param>
void RegisterAgent(Agent agent);
/// <summary>
/// Unregister agent from the MultiAgentGroup.
/// </summary>
/// <param name="agent">The Agent to unregister.</param>
void UnregisterAgent(Agent agent);
}
}
|