state_tracker#
- class state_tracker(state_name=None, min_age=15, max_age=99)[source]#
Bases:
AnalyzerRecords the number of living women on a specific boolean state (eg, numbe of living women who live in rural settings)
Attributes
auto_state_listList of "automatic" states with boolean type (ss.BoolState) that were added via define_states()
dtGet the current module timestep
nowShortcut to self.t.now()
state_dictReturn a flat dictionary (objdict) of all states
state_listReturn a flat list of all states (ss.Arr objects)
tiGet the current module timestep
timevecShortcut to self.t.timevec
Methods