mesa_frames.AgentSet.__init__#

AgentSet.__init__(model: Model, name: str | None = None) None[source]#

Initialize a new AgentSet.

Parameters:
  • model ("mesa_frames.concrete.model.Model") – The model that the agent set belongs to.

  • name (str | None, optional) – Name for this agent set. If None, class name is used. Will be converted to snake_case if in camelCase.