Building blocks

Building blocks#

The classes models are made of. Use them to add viruses, interventions, or groups to a model, or to build a custom model from an empty Model.

Model

An agent-based model: a population, its states, viruses, and tools.

Agent

An individual in the simulated population.

Virus

A virus (or any other contagious condition) that spreads between agents.

Tool

A tool that changes how a virus affects the agents who carry it.

Entity

A group of agents, such as a household, school, or age group.

UpdateFun

Factories for state update functions.

NativeUpdateFun

A state update function implemented in C++.