Variables

Variables are how individual represents state, and operations to find subsets of individuals based on values of their variable(s) return bitsets.

CategoricalVariable

CategoricalVariable Class

IntegerVariable

IntegerVariable Class

DoubleVariable

DoubleVariable Class

RaggedInteger

RaggedInteger Class

RaggedDouble

RaggedDouble Class

Bitset

A Bitset Class

filter_bitset()

Filter a bitset

Events & Rendering

Classes for events and rendering output.

EventBase

EventBase Class

Event

Event Class

TargetedEvent

TargetedEvent Class

Render

Render

Prefabs

Optimized processes and event listeners.

bernoulli_process()

Bernoulli process

categorical_count_renderer_process()

Render Categories

fixed_probability_multinomial_process()

Multinomial process

infection_age_process()

Infection process for age-structured models

multi_probability_bernoulli_process()

Overdispersed Bernoulli process

multi_probability_multinomial_process()

Overdispersed multinomial process

reschedule_listener()

Reschedule listener

update_category_listener()

Update category listener

Simulation

simulation_loop()

A premade simulation loop

restore_simulation_state()

Restore the simulation state

save_simulation_state()

Save the simulation state

save_object_state()

Save the state of a simulation object or set of objects.

restore_object_state()

Restore the state of simulation objects.