parameters.h Source File
|
CPP API
|
sde_seirvv/parameters.h
Go to the documentation of this file.
153 ParameterSet<TransmissionProbabilityOnContactV1<FP>, TransmissionProbabilityOnContactV2<FP>, TimeExposedV1<FP>,
187 log_warning("Constraint check: Parameter TimeExposedV1 changed from {} to {}. Please note that "
188 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
195 log_warning("Constraint check: Parameter TimeExposedV2 changed from {} to {}. Please note that "
196 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
203 log_warning("Constraint check: Parameter TimeInfectedV1 changed from {} to {}. Please note that "
204 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
211 log_warning("Constraint check: Parameter TimeInfectedV2 changed from {} to {}. Please note that "
212 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
220 log_warning("Constraint check: Parameter TransmissionProbabilityOnContactV1 changed from {} to {} ",
227 log_warning("Constraint check: Parameter TransmissionProbabilityOnContactV2 changed from {} to {} ",
245 log_warning("Constraint check: Parameter TimeExposedV1 {} smaller or equal {}. Please note that "
246 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
252 log_warning("Constraint check: Parameter TimeExposedV2 {} smaller or equal {}. Please note that "
253 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
259 log_warning("Constraint check: Parameter TimeInfectedV1 {} smaller or equal {}. Please note that "
260 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
266 log_warning("Constraint check: Parameter TimeInfectedV2 {} smaller or equal {}. Please note that "
267 "unreasonably small compartment stays lead to massively increased run time. Consider to cancel "
274 log_error("Constraint check: Parameter TransmissionProbabilityOnContactV1 {} smaller {} or greater "
281 log_error("Constraint check: Parameter TransmissionProbabilityOnContactV2 {} smaller {} or greater "
represents time dependent contact frequencies between groups.
Definition: contact_matrix.h:505
const ParameterTagTraits< Tag >::Type & get() const
get value of a parameter
Definition: parameter_set.h:262
Parameters of stochastic SEIRVV model.
Definition: sde_seirvv/parameters.h:161
bool check_constraints() const
Checks whether all Parameters satisfy their corresponding constraints and logs an error if constraint...
Definition: sde_seirvv/parameters.h:240
static IOResult< Parameters > deserialize(IOContext &io)
Deserialize an object of this class.
Definition: sde_seirvv/parameters.h:301
bool apply_constraints()
Checks whether all Parameters satisfy their corresponding constraints and applies them,...
Definition: sde_seirvv/parameters.h:181
Parameters(ParametersBase< FP > &&base)
Definition: sde_seirvv/parameters.h:290
A collection of classes to simplify handling of matrix shapes in meta programming.
Definition: models/abm/analyze_result.h:30
void log_warning(spdlog::string_view_t fmt, const Args &... args)
Definition: logging.h:112
auto success()
Create an object that is implicitly convertible to a succesful IOResult<void>.
Definition: io.h:359
void log_error(spdlog::string_view_t fmt, const Args &... args)
Definition: logging.h:100
boost::outcome_v2::unchecked< T, IOStatus > IOResult
Value-or-error type for operations that return a value but can fail.
Definition: io.h:353
Definition: io.h:94
The contact patterns within the society are modelled using a ContactMatrix.
Definition: sde_seirvv/parameters.h:139
static Type get_default()
Definition: sde_seirvv/parameters.h:141
The latent time of variant 1 in days.
Definition: sde_seirvv/parameters.h:75
static Type get_default()
Definition: sde_seirvv/parameters.h:77
The latent time of variant 2 in days.
Definition: sde_seirvv/parameters.h:91
static Type get_default()
Definition: sde_seirvv/parameters.h:93
The infectious time of variant 1 in days.
Definition: sde_seirvv/parameters.h:107
static Type get_default()
Definition: sde_seirvv/parameters.h:109
The infectious time of variant 2 in days.
Definition: sde_seirvv/parameters.h:123
static Type get_default()
Definition: sde_seirvv/parameters.h:125
Probability of getting infected from a contact with variant 1.
Definition: sde_seirvv/parameters.h:42
UncertainValue< FP > Type
Definition: sde_seirvv/parameters.h:43
static std::string name()
Definition: sde_seirvv/parameters.h:48
static Type get_default()
Definition: sde_seirvv/parameters.h:44
Probability of getting infected from a contact with variant 2.
Definition: sde_seirvv/parameters.h:59
static std::string name()
Definition: sde_seirvv/parameters.h:65
static Type get_default()
Definition: sde_seirvv/parameters.h:61
UncertainValue< FP > Type
Definition: sde_seirvv/parameters.h:60
Generated by