Skip to content

Allow contact increase for simulation of larger events #945

@mknaranja

Description

@mknaranja

Motivation / Current Behaviour

Practically, we have realized the opportunity of modeling a local increase of contacts per day, e.g. through major events like Karneval or Oktoberfest. Technically, however, we currently prohibit this setting by asserting on damping factors larger than 1 (https://github.com/SciCompMod/memilio/blob/main/cpp/memilio/epidemiology/damping.h#L98)

Enhancement description

In order to allow increases in contact patterns, the technical restriction should be reduced and for dampings it should only be checked if their factors are nonnegative/positive.

Additional context

No response

Checklist

  • Attached labels, especially loc:: or model:: labels.
  • Linked to project

Metadata

Metadata

Assignees

Labels

class::improvementCleanup that doesn't affect functionalityloc::backendThis issue concerns the C++ backend implementation.model::lctModels using the linear chain trickmodel::odeThis issue concerns any kind of ODE-based model.

Type

No type

Projects

Status

Done (Total)

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions