osmose.engine.simulate¶
Main simulation loop for the Python OSMOSE engine.
- Follows Java’s SimulationStep.step() ordering:
incoming_flux -> reset -> resources.update -> movement -> mortality (interleaved) -> growth -> aging_mortality -> reproduction -> collect_outputs -> compact
Functions
|
Create the initial population. |
|
Run the OSMOSE simulation loop. |
Classes
|
Per-simulation mutable state -- replaces module-level globals. |
|
Aggregated output for a single simulation timestep. |
|
Per-species summary statistics for one genetic trait at one timestep. |