Interface OutbreakHistory

All Superinterfaces:
Abstraction.TemporalState<Outbreak>, Cloneable, OutbreakTemporalState, Serializable
All Known Implementing Classes:
ImmutableOutbreakHistory

@Immutable public interface OutbreakHistory extends OutbreakTemporalState
  • Method Details

    • getPrevious

      default Optional<OutbreakHistory> 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

      @Lazy default List<Integer> 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

      @Lazy default List<Integer> getTestNegativesBySampleDate()
      The number of tests reported as positive on the given day
      See Also: