mesa_frames.AgentSetRegistry.__iadd__#

AgentSetRegistry.__iadd__(other: AbstractAgentSet | Collection[AbstractAgentSet]) Self#

Add AgentSets to the registry through the += operator.

Parameters:

other (mesa_frames.abstract.agentset.AbstractAgentSet | Collection[mesa_frames.abstract.agentset.AbstractAgentSet]) – The AgentSets to add.

Returns:

The updated AbstractAgentSetRegistry.

Return type:

Self