larvaworld.lib.sim.dataset_replay

Classes

ReplayRun

Basic Class for the Agent-based model

Module Contents

class larvaworld.lib.sim.dataset_replay.ReplayRun(parameters: Any, dataset: Any | None = None, screen_kws: dict = {}, **kwargs: Any)

Bases: larvaworld.lib.sim.base_run.BaseRun

Basic Class for the Agent-based model Extends the agentpy Model class

property configuration_text
setup() None

Defines the model’s actions before the first simulation step. Can be overwritten to initiate agents and environments.

build_agents(d: Any) None
step() None

Defines the models’ events per simulation step.

end() None

Defines the model’s actions after the last simulation step. Can be overwritten for final calculations and reporting.