Interface PersonTemporalState

All Superinterfaces:
Abstraction.TemporalState<Person>, Serializable
All Known Subinterfaces:
PersonHistory, PersonState
All Known Implementing Classes:
ImmutablePersonHistory, ImmutablePersonState

public interface PersonTemporalState extends Abstraction.TemporalState<Person>
Any data related to the state of the people in the model which is valid only in a specific time point. This list of things is shared between the PersonState and PersonHistory.
  • Method Details

    • isInfectious

      boolean isInfectious()
      Is the persons internal viral load above the threshold for potential infectivity.
    • isSymptomatic

      boolean isSymptomatic()
      Is the persons internal infected targets above the threshold for exhibiting symptoms.
    • isReportedSymptomatic

      boolean isReportedSymptomatic()
      Is the persons internal infected targets above the threshold for exhibiting symptoms and they have reported it on a smart agent.
    • isRequiringHospitalisation

      boolean isRequiringHospitalisation()
      Is the persons disease severe enough to require hospitalisation
    • isDead

      boolean isDead()
    • getNormalisedSeverity

      double getNormalisedSeverity()
      A continuous value for the severity of disease, as determined by the in host model. This is interpreted relative to disease cutoffs, which are calibrated, so its not really normalised at all and this may change.
    • getNormalisedViralLoad

      double getNormalisedViralLoad()
      A continuous value for the viral load of disease, as determined by the in host model. This is scaled to be 0 if uninfected and 1 if minimally infectious. Values smaller than 1 imply viral load may be detectible by tests but not infectious. This may need to be revisited with a view to more formally relating viral load with infectivity.
    • getContactExposure

      double getContactExposure()
      The viral exposure an individual experienced in a day as a result of all contacts in the model (there is also a random chance of exposure due to importation). This should be on the same scale as the viral load.
    • getPresumedLocalPrevalence

      double getPresumedLocalPrevalence()
      An estimate of the local prevalence as estimated by the probability of infection in todays contacts, as might be calculated by a smart agent.
    • infPeriod

      default int infPeriod()
    • incubPeriod

      default int incubPeriod()