mesa_frames.AgentSetRegistry.remove#

AgentSetRegistry.remove(sets: AgentSetSelector, inplace: bool = True) Self[source]#

Remove AgentSets from the AbstractAgentSetRegistry.

Parameters:
  • sets (AgentSetSelector) – Which AgentSets to remove (instance, type, name, or collection thereof).

  • inplace (bool, optional) – Whether to remove the agent in place.

Returns:

The updated AbstractAgentSetRegistry.

Return type:

Self