Population size distribution in time and space.
- Template Parameters
-
Space | Demes identifiers. |
Time | EqualityComparable, CopyConstructible. |
Value | The type of the population size variable (int, unsigned int, double...) |
|
| PopulationSizeHashMapImplementation ()=default |
| Default constructor.
|
|
void | set (coord_type const &x, time_type const &t, value_type N) |
| Set population size value at deme x at time t.
|
|
value_type | get (coord_type const &x, time_type const &t) const |
| Get population size value at deme x at time t.
|
|
value_type | operator() (coord_type const &x, time_type const &t) const |
| Get population size at deme x at time t.
|
|
value_type & | operator() (coord_type const &x, time_type const &t) |
| Population size at deme x at time t.
|
|
std::vector< coord_type > | definition_space (time_type const &t) const |
| Return the demes at which the population size was defined (>0) at time t.
|
|
bool | is_defined (coord_type const &x, time_type const &t) const |
| Checks if population size is defined at deme x at time t.
|
|