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

Bitset

A Bitset Class

filter_bitset()

Filter a bitset

Events & Rendering

Classes for events and rendering output.

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