PopulationAfterCommuting< FP > Struct Template Reference

CPP API: mio::oseirmetapop::PopulationAfterCommuting< FP > Struct Template Reference
mio::oseirmetapop::PopulationAfterCommuting< FP > Struct Template Reference

The number of individuals in each Region and AgeGroup if commuting was applied. More...

#include <parameters.h>

Public Types

using Type = Populations< FP, Region, AgeGroup >
 

Static Public Member Functions

static Type get_default (Region size_regions, AgeGroup size_agegroups)
 
static std::string name ()
 

Detailed Description

template<typename FP = ScalarType>
struct mio::oseirmetapop::PopulationAfterCommuting< FP >

The number of individuals in each Region and AgeGroup if commuting was applied.

Computed as the sum of the number of individuals staying in their Region and the number of individuals commuting to this Region minus the number of individuals commuting from this Region.

Member Typedef Documentation

◆ Type

template<typename FP = ScalarType>
using mio::oseirmetapop::PopulationAfterCommuting< FP >::Type = Populations<FP, Region, AgeGroup>

Member Function Documentation

◆ get_default()

template<typename FP = ScalarType>
static Type mio::oseirmetapop::PopulationAfterCommuting< FP >::get_default ( Region  size_regions,
AgeGroup  size_agegroups 
)
inlinestatic

◆ name()

template<typename FP = ScalarType>
static std::string mio::oseirmetapop::PopulationAfterCommuting< FP >::name ( )
inlinestatic