Package io.github.ai4ci.abm
Interface OutbreakHistory
- All Superinterfaces:
Abstraction.TemporalState<Outbreak>
,Cloneable
,OutbreakTemporalState
,Serializable
- All Known Implementing Classes:
ImmutableOutbreakHistory
-
Method Summary
Modifier and TypeMethodDescriptiondefault int
The current state of knowledge about test negative results from this daydefault int
The current state of knowledge about test positive results from samples taken on this daydefault int
Internal helper function for looking at delay of test resultsdefault Optional<OutbreakHistory>
The number of tests reported as positive on the given daydefault int
getTestNegativesBySampleDate
(int time) The total test negatives reported from this day, as reported on another day (typically in the future).The number of tests reported as positive on the day of testing is looking forward through time until the result is available.default int
getTestPositivesBySampleDate
(int time) The total test positives reported from this day, as reported on another day (typically in the future).Methods inherited from interface io.github.ai4ci.abm.mechanics.Abstraction.TemporalState
getEntity, getExperimentName, getExperimentReplica, getModelName, getModelReplica, getTime, getUrn
Methods inherited from interface io.github.ai4ci.abm.OutbreakTemporalState
getCumulativeAdmissions, getCumulativeComplianceDecrease, getCumulativeInfections, getCumulativeMobilityDecrease, getIncidence, getInfectedCount, getMaximumHospitalBurden, getMaximumIncidence, getMaximumPrevalence, getTestNegativesByResultDate, getTestPositivesByResultDate, getTimeToMaximumIncidence
-
Method Details
-
getPrevious
-
getMaxDelay
@Lazy default int getMaxDelay()Internal helper function for looking at delay of test results -
getTestPositivesBySampleDate
default int getTestPositivesBySampleDate(int time) The total test positives reported from this day, as reported on another day (typically in the future). This handles delay distribution of test results and will tell us what is known about tests taken today on day x. -
getCurrentTestPositivesBySampleDate
default int getCurrentTestPositivesBySampleDate()The current state of knowledge about test positive results from samples taken on this day -
getTestPositivesBySampleDate
The number of tests reported as positive on the day of testing is looking forward through time until the result is available. The result is a forward distribution of positive test counts indexed by delay. So first is the tests with positive results available today, second is those with results tomorrow etc. -
getTestNegativesBySampleDate
default int getTestNegativesBySampleDate(int time) The total test negatives reported from this day, as reported on another day (typically in the future). This handles delay distribution of test results and will tell us what is known about tests taken today on day x. -
getCurrentTestNegativesBySampleDate
default int getCurrentTestNegativesBySampleDate()The current state of knowledge about test negative results from this day -
getTestNegativesBySampleDate
The number of tests reported as positive on the given day- See Also:
-