metapopulation_mobility_instant.h File Reference
|
CPP API
|
metapopulation_mobility_instant.h File Reference
#include "memilio/compartments/simulation.h"#include "memilio/epidemiology/contact_matrix.h"#include "memilio/epidemiology/dynamic_npis.h"#include "memilio/math/eigen.h"#include "memilio/math/euler.h"#include "memilio/math/eigen_util.h"#include "memilio/mobility/graph_simulation.h"#include "memilio/utils/compiler_diagnostics.h"#include "memilio/utils/time_series.h"
Include dependency graph for metapopulation_mobility_instant.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Classes | |
| class | mio::MobilityEdge< FP > |
| represents the mobility between two nodes. More... | |
| class | mio::MobilityParameters< FP > |
| parameters that influence mobility. More... | |
| class | mio::SimulationNode< FP, Sim > |
| represents the simulation in one node of the graph. More... | |
Namespaces | |
| mio | |
| A collection of classes to simplify handling of matrix shapes in meta programming. | |
Typedefs | |
| template<typename FP > | |
| using | mio::MobilityCoefficientGroup = DampingMatrixExpressionGroup< FP, MobilityCoefficients< FP > > |
| sum of time dependent mobility coefficients. More... | |
| template<typename FP > | |
| using | mio::MobilityCoefficients = DampingMatrixExpression< FP, VectorDampings< FP > > |
| time dependent mobility coefficients. More... | |
Functions | |
| template<typename FP , class Sim > | |
| void | mio::advance_model (FP t, FP dt, SimulationNode< FP, Sim > &node) |
| edge functor for mobility-based simulation. More... | |
| template<typename FP , class Sim > | |
| void | mio::apply_mobility (FP t, FP dt, MobilityEdge< FP > &mobilityEdge, SimulationNode< FP, Sim > &node_from, SimulationNode< FP, Sim > &node_to) |
| edge functor for mobility-based simulation. More... | |
| template<typename FP , IsCompartmentalModelSimulation< FP > Sim> | |
| void | mio::calculate_mobility_returns (Eigen::Ref< typename TimeSeries< FP >::Vector > mobile_population, const Sim &sim, Eigen::Ref< const typename TimeSeries< FP >::Vector > total, FP t, FP dt) |
| adjust number of people that changed node when they return according to the model. More... | |
| template<typename FP , class Sim > | |
| FP | mio::get_infections_relative (const SimulationNode< FP, Sim > &node, FP t, const Eigen::Ref< const Eigen::VectorX< FP >> &y) |
| get the percantage of infected people of the total population in the node If dynamic NPIs are enabled, there needs to be an overload of get_infections_relative(model, y) for the Model type that can be found with argument-dependent lookup. More... | |
| template<typename FP , class Sim > | |
| auto | mio::get_mobility_factors (const SimulationNode< FP, Sim > &node, FP t, const Eigen::Ref< const Eigen::VectorX< FP >> &y) |
| Get an additional mobility factor. More... | |
| template<typename FP , class Sim > | |
| void | mio::test_commuters (SimulationNode< FP, Sim > &node, Eigen::Ref< Eigen::VectorX< FP >> mobile_population, FP time) |
| Test persons when moving from their source node. More... | |
| template<typename FP , class Sim > | |
| GraphSimulation< FP, Graph< SimulationNode< FP, Sim >, MobilityEdge< FP > >, FP, FP, void(*)(FP, FP, mio::MobilityEdge< FP > &, mio::SimulationNode< FP, Sim > &, mio::SimulationNode< FP, Sim > &), void(*)(FP, FP, mio::SimulationNode< FP, Sim > &)> | mio::make_mobility_sim (FP t0, FP dt, const Graph< SimulationNode< FP, Sim >, MobilityEdge< FP >> &graph) |
| create a mobility-based simulation. More... | |
| template<typename FP , class Sim > | |
| GraphSimulation< FP, Graph< SimulationNode< FP, Sim >, MobilityEdge< FP > >, FP, FP, void(*)(FP, FP, mio::MobilityEdge< FP > &, mio::SimulationNode< FP, Sim > &, mio::SimulationNode< FP, Sim > &), void(*)(FP, FP, mio::SimulationNode< FP, Sim > &)> | mio::make_mobility_sim (FP t0, FP dt, Graph< SimulationNode< FP, Sim >, MobilityEdge< FP >> &&graph) |
| create a mobility-based simulation. More... | |
| template<typename FP , class Sim > | |
| auto | mio::make_no_mobility_sim (FP t0, Graph< SimulationNode< FP, Sim >, MobilityEdge< FP >> &&graph) |
| Create a graph simulation without mobility. More... | |
| template<typename FP , class Sim > | |
| auto | mio::make_no_mobility_sim (FP t0, Graph< SimulationNode< FP, Sim >, MobilityEdge< FP >> &graph) |
| Create a graph simulation without mobility. More... | |
Generated by