ABMMobilityEdge< History > Class Template Reference

CPP API: mio::ABMMobilityEdge< History > Class Template Reference
mio::ABMMobilityEdge< History > Class Template Reference

Represents the mobility between two nodes. More...

#include <graph_abm_mobility.h>

Public Member Functions

void apply_mobility (ABMSimulationNode< History... > &node_from, ABMSimulationNode< History... > &node_to, abm::TimePoint)
 Exchanges persons via the edge. More...
 

Detailed Description

template<class... History>
class mio::ABMMobilityEdge< History >

Represents the mobility between two nodes.

Member Function Documentation

◆ apply_mobility()

template<class... History>
void mio::ABMMobilityEdge< History >::apply_mobility ( ABMSimulationNode< History... > &  node_from,
ABMSimulationNode< History... > &  node_to,
abm::TimePoint   
)
inline

Exchanges persons via the edge.

Commuters are given by the person buffer of node_from.

Parameters
[in]node_fromCommuters home node
[in]node_toNode commuters (temporarily) move to
[in]tEchange time point