def METHOD_NAME(self, team_id: int, trainer: GhostTrainer) -> None:
    """
    Given a team_id and trainer, add to queue and trainers if not already.
    The GhostTrainer is used later by the controller to get ELO ratings of agents.
    :param team_id: The team_id of an agent managed by this GhostTrainer
    :param trainer: A GhostTrainer that manages this team_id.
    """
    if team_id not in self._ghost_trainers:
        self._ghost_trainers[team_id] = trainer
        if self._learning_team < 0:
            self._learning_team = team_id
        else:
            self._queue.append(team_id)