mesa_frames.AgentSetRegistry.__sub__#
- AgentSetRegistry.__sub__(other: AbstractAgentSet | Collection[AbstractAgentSet]) Self#
Remove AgentSets from a new registry through the - operator.
- Parameters:
other (mesa_frames.abstract.agentset.AbstractAgentSet | Collection[mesa_frames.abstract.agentset.AbstractAgentSet]) – The AgentSets to remove.
- Returns:
A new AbstractAgentSetRegistry with the removed AgentSets.
- Return type:
Self