Stride Reference Manual
1.0
|
Container for persons in population. More...
#include <Population.h>
Public Types | |
using | PersonType = Simulator::PersonType |
using | PlannerType = SimplePlanner< PersonType > |
using | VectorType = vector< PersonType > |
using | iterator = PopulationIterator |
using | const_iterator = ConstPopulationIterator |
Public Member Functions | |
Population ()=default | |
unsigned int | getInfectedCount () const |
Get the cumulative number of cases. More... | |
double | getFractionInfected () const |
size_t | size () const |
template<typename BeliefPolicy > | |
unsigned int | getAdoptedCount () const |
PopulationIterator | begin () |
PopulationIterator | end () |
ConstPopulationIterator | begin () const |
ConstPopulationIterator | end () const |
Public Attributes | |
VectorType | m_original |
PlannerType | m_visitors |
Container for persons in population.
Definition at line 132 of file Population.h.
Definition at line 136 of file Population.h.
Definition at line 137 of file Population.h.
using stride::Population::VectorType = vector<PersonType> |
Definition at line 138 of file Population.h.
Definition at line 167 of file Population.h.
Definition at line 168 of file Population.h.
|
default |
unsigned int Population::getInfectedCount | ( | ) | const |
Get the cumulative number of cases.
Definition at line 11 of file Population.cpp.
|
inline |
Definition at line 143 of file Population.h.
|
inline |
Definition at line 147 of file Population.h.
unsigned int stride::Population::getAdoptedCount | ( | ) | const |
Definition at line 194 of file Population.h.
PopulationIterator stride::Population::begin | ( | ) |
PopulationIterator stride::Population::end | ( | ) |
ConstPopulationIterator stride::Population::begin | ( | ) | const |
ConstPopulationIterator stride::Population::end | ( | ) | const |
VectorType stride::Population::m_original |
Definition at line 163 of file Population.h.
Referenced by stride::Simulator::sendNewTravellers().
PlannerType stride::Population::m_visitors |
Definition at line 164 of file Population.h.