LogInfectionState Struct Reference
|
CPP API
|
mio::abm::LogInfectionState Struct Reference
Logger to log the TimeSeries of the number of Persons in an InfectionState. More...
#include <common_abm_loggers.h>
Inheritance diagram for mio::abm::LogInfectionState:
Collaboration diagram for mio::abm::LogInfectionState:
Public Types | |
| using | Type = std::pair< mio::abm::TimePoint, Eigen::VectorX< ScalarType > > |
Static Public Member Functions | |
| static Type | log (const mio::abm::Simulation<> &sim) |
| Log the TimeSeries of the number of Persons in an InfectionState. More... | |
Additional Inherited Members | |
Public Member Functions inherited from mio::LogAlways | |
| template<class T > | |
| constexpr bool | should_log (const T &) |
| Always returns true, for any type T. More... | |
Detailed Description
Logger to log the TimeSeries of the number of Persons in an InfectionState.
Member Typedef Documentation
◆ Type
| using mio::abm::LogInfectionState::Type = std::pair<mio::abm::TimePoint, Eigen::VectorX<ScalarType> > |
Member Function Documentation
◆ log()
|
inlinestatic |
Log the TimeSeries of the number of Persons in an InfectionState.
- Parameters
-
[in] sim The simulation of the abm.
- Returns
- A pair of the TimePoint and the TimeSeries of the number of Persons in an InfectionState.
Generated by
Public Member Functions inherited from