mesa_frames.Model.__init__#

Model.__init__(seed: int | Sequence[int] | None = None) None[source]#

Create a new model.

Overload this method with the actual code to start the model. Always start with super().__init__(seed) to initialize the model object properly.

Parameters:

seed (int | Sequence[int] | None, optional) – The seed for the model’s generator