Interface Abstraction.HistoricalStateProvider<H extends Abstraction.TemporalState<?>>

All Known Subinterfaces:
Outbreak
All Known Implementing Classes:
ModifiableOutbreak, ModifiablePerson, Person
Enclosing interface:
Abstraction

public static interface Abstraction.HistoricalStateProvider<H extends Abstraction.TemporalState<?>>
  • Method Summary

    Modifier and Type
    Method
    Description
     
    default Optional<H>
    getHistory(int delay)
    Gets a history entry for N days in the past if such an entry exists
    default Optional<H>
    getHistoryEntry(int time)
    Gets a history entry for simulation day N if such an entry exists
  • Method Details

    • getHistory

      List<H> getHistory()
    • getHistory

      default Optional<H> getHistory(int delay)
      Gets a history entry for N days in the past if such an entry exists
    • getHistoryEntry

      default Optional<H> getHistoryEntry(int time)
      Gets a history entry for simulation day N if such an entry exists