Package io.github.ai4ci.abm
Interface PersonTemporalState
- All Superinterfaces:
Abstraction.TemporalState<Person>
,Serializable
- All Known Subinterfaces:
PersonHistory
,PersonState
- All Known Implementing Classes:
ImmutablePersonHistory
,ImmutablePersonState
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 Summary
Modifier and TypeMethodDescriptiondouble
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).double
A continuous value for the severity of disease, as determined by the in host model.double
A continuous value for the viral load of disease, as determined by the in host model.double
An estimate of the local prevalence as estimated by the probability of infection in todays contacts, as might be calculated by a smart agent.default int
default int
boolean
isDead()
boolean
Is the persons internal viral load above the threshold for potential infectivity.boolean
Is the persons internal infected targets above the threshold for exhibiting symptoms and they have reported it on a smart agent.boolean
Is the persons disease severe enough to require hospitalisationboolean
Is the persons internal infected targets above the threshold for exhibiting symptoms.Methods inherited from interface io.github.ai4ci.abm.mechanics.Abstraction.TemporalState
getEntity, getExperimentName, getExperimentReplica, getModelName, getModelReplica, getTime, getUrn
-
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()
-