48 template <ContactType::Id T>
62 template <ContactType::Id T>
ContactPool * CreateContactPool()
Templated version of for use when type id is fixed.
Id
Enumerates the ContactPool types.
A group of Persons that potentially have contacts with one another.
ContactType::IdSubscriptArray< util::SegmentedVector< ContactPool > > m_sys
Pool system container: array that is subscriptable with ContactType::Ids and for each Id contains a S...
Header for the core ContactPool class.
util::SegmentedVector< ContactPool > & RefPools(ContactType::Id id)
/// Access through non-const reference to ContactPools of type 'id'.
const util::SegmentedVector< ContactPool > & CRefPools() const
Templated version of for use when the type id is fixed.
ContactType::IdSubscriptArray< unsigned int > m_currentContactPoolId
The contact pool counters (one per type id) for assigning pool UIDs.
Interface and implementation for SegmentedVector class.
const util::SegmentedVector< ContactPool > & CRefPools(ContactType::Id id) const
Access through const reference to ContactPools of type 'id'.
Simulator can time step and reveal some of the key data.
Container that stores objects "almost contiguously" (in a chain of blocks) and guarantees that pointe...
Definition of ContactPool Id Type.
Container for the contact pools of various type (household, work, ...).
ContactPoolSys()
Empty system.
Initializes Population objects.
ContactPoolSys contains for each of the type of pools (Household, K12School, ...) a vector of with al...
Namespace for the simulator and related classes.