CommutingStrengths< FP > Struct Template Reference

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

The commuting patterns between different Regions are modelled using a ContactMatrix of size n_regions x n_regions. More...

#include <parameters.h>

Public Types

using Type = UncertainContactMatrix< FP >
 

Static Public Member Functions

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

Detailed Description

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

The commuting patterns between different Regions are modelled using a ContactMatrix of size n_regions x n_regions.

Each entry of the matrix represents the fraction of individuals commuting from one Region to another. The diagonal corresponds to the fraction of individuals staying in their Region.

Member Typedef Documentation

◆ Type

template<typename FP = ScalarType>
using mio::oseirmetapop::CommutingStrengths< FP >::Type = UncertainContactMatrix<FP>

Member Function Documentation

◆ get_default()

template<typename FP = ScalarType>
static Type mio::oseirmetapop::CommutingStrengths< FP >::get_default ( Region  size,
AgeGroup   
)
inlinestatic

◆ name()

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