Skip to contents

a listener to be attached to a individual::TargetedEvent to update state when that event fires.

Usage

create_state_update_listener(states, destination)

Arguments

states

a individual::CategoricalVariable object

destination

the destination state