-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
8b9d662
commit 3fb14b9
Showing
2 changed files
with
21 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,26 @@ | ||
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); | ||
} | ||
} |