nmmo.task.team_helper module#

class nmmo.task.team_helper.TeamHelper(agents: List[int], num_teams: int)#

Bases: object

Provides a mapping from ent_id to group as equivalent to the grouping expected by the policy

property all_agents: Group#
property all_teams: List[Group]#
static generate_from_config(config)#
left_team(ent_id: int) Group#
own_team(ent_id: int) Group#
right_team(ent_id: int) Group#
team(pop_id: int) Group#