BasePopulationTracker#

class BasePopulationTracker(model, verbose=False, params=None)[source]#

Bases: BasePhase

Tracks the population size of each patch at each time tick.

Initialize the component.

Parameters:
  • model (BaseLaserModel) – The model instance this component belongs to.

  • verbose (bool) – Whether to enable verbose output. Defaults to False.

__call__(model, tick)[source]#

Execute component logic for a given simulation tick.

Parameters:
  • model – The model instance.

  • tick (int) – The current simulation tick.

Return type:

None