Expand description
Example models for the Henad engine.
example_models returns all ten models as a ModelSet, the set that the app and the CLI offer.
Each module holds one model, and the model reference lists
their parameters and actions.
Modules§
- ants
- Ant foraging as an
AgentModelover a pheromoneScalarField. - boids
- Boids flocking as an
AgentModelon a torus, with neighbours found through aSpatialHash. - game_
of_ life - Conway’s Game of Life as a
GridModelon a torus. - gpu_
ants - GPU ants,
crate::antswith its population and pheromone field in GPU buffers. - gpu_
boids - GPU boids,
crate::boidswith its population in GPU buffers. - gpu_
game_ of_ life - Game of Life as a
GpuGridModel, with the rules ofcrate::game_of_lifeand the grid in a storage buffer. - gpu_sir
- The SIR epidemic as a
GpuGridModel, with the rules ofcrate::sirand the grid in a storage buffer. - sir
- The SIR (susceptible, infected, recovered) epidemic as a
GridModelon a torus. - team_
assembly - NetLogo’s Team Assembly model, after Guimerà, Uzzi, Spiro and Amaral (2005).
- virus_
network - NetLogo’s Virus on a Network model, extended with rewiring and a directed variant.
Functions§
- example_
models - Returns the ten example models, with henad-models’ own build as their source.