Uses of Interface
io.github.ai4ci.abm.PersonHistory
Packages that use PersonHistory
-
Uses of PersonHistory in io.github.ai4ci.abm
Classes in io.github.ai4ci.abm that implement PersonHistoryMethods in io.github.ai4ci.abm that return PersonHistoryModifier and TypeMethodDescriptionabstract PersonHistory
HistoryMapper.createHistory
(PersonState currentState) HistoryMapperImpl.createHistory
(PersonState currentState) default PersonHistory
Exposure.getExposer
(PersonTemporalState one) default PersonHistory
Contact.getParticipant
(PersonHistory one) default PersonHistory
Contact.getParticipant
(PersonState one) default PersonHistory
PersonState.getYesterday()
use with extreme caution: prefer the Optional ModelNav version.Methods in io.github.ai4ci.abm that return types with arguments of type PersonHistoryModifier and TypeMethodDescriptionHistoryMapper.currentHistory
(PersonState currentState, int offset) Deprecated.Person.getCurrentHistory()
Gets the first history item unless there is no history.final List<PersonHistory>
ModifiablePerson.getHistory()
abstract List<PersonHistory>
Person.getHistory()
ImmutablePersonHistory.getInfectionStart()
If person is infected here find the infectee state at the point in time they became infectious.default Optional<PersonHistory>
PersonHistory.getInfectionStart()
Deprecated.ImmutablePersonHistory.getInfector()
For a new infection this finds the contact with maximal viral exposure on the first day before the subject is infectious when the subject was exposed by an "infector".default Optional<PersonHistory>
PersonHistory.getInfector()
Deprecated.default Optional<PersonHistory>
PersonHistory.getLastExposure()
Find the infectee's state at the start of last episode of exposure to virus, I.e. the first in a run of exposures, which are separated by less that one infectious period.ImmutablePersonHistory.getNewInfection()
Find if a person is newly infectious on this day.default Optional<PersonHistory>
PersonHistory.getNewInfection()
Deprecated.default Optional<PersonHistory>
PersonHistory.getNext()
default Optional<PersonHistory>
Outbreak.getPersonHistoryByIdAndTime
(int id, int time) default Optional<PersonHistory>
PersonHistory.getPrevious()
default Stream<PersonHistory>
PersonHistory.getPrevious
(int limit) Methods in io.github.ai4ci.abm with parameters of type PersonHistoryModifier and TypeMethodDescriptionModifiablePerson.addHistory
(PersonHistory element) Adds one element tohistory
list.final ModifiablePerson
ModifiablePerson.addHistory
(PersonHistory... elements) Adds elements tohistory
list.static ImmutablePersonHistory
ImmutablePersonHistory.copyOf
(PersonHistory instance) Creates an immutable copy of aPersonHistory
value.ImmutablePersonHistory.Builder.from
(PersonHistory instance) Fill a builder with attribute values from the providedio.github.ai4ci.abm.PersonHistory
instance.default PersonHistory
Contact.getParticipant
(PersonHistory one) Method parameters in io.github.ai4ci.abm with type arguments of type PersonHistoryModifier and TypeMethodDescriptionModifiablePerson.addAllHistory
(Iterable<? extends PersonHistory> elements) Adds elements tohistory
list.ModifiablePerson.setHistory
(Iterable<? extends PersonHistory> elements) Sets or replaces all elements forhistory
list. -
Uses of PersonHistory in io.github.ai4ci.output
Methods in io.github.ai4ci.output with parameters of type PersonHistoryModifier and TypeMethodDescriptionprotected abstract ImmutableContactCSV
CSVMapper.toCSV
(PersonHistory person, Contact contact) protected ImmutableContactCSV
CSVMapperImpl.toCSV
(PersonHistory person, Contact contact) -
Uses of PersonHistory in io.github.ai4ci.util
Methods in io.github.ai4ci.util that return types with arguments of type PersonHistoryModifier and TypeMethodDescriptionstatic Optional<PersonHistory>
ModelNav.history
(PersonState person) static Stream<PersonHistory>
ModelNav.history
(PersonState person, int days) static Stream<PersonHistory>
ModelNav.peopleCurrentHistory
(OutbreakState current) static Stream<PersonHistory>
ModelNav.peopleHistory
(OutbreakHistory outbreakHistory) The corresponding history entries for this point in time in the outbreak i.e.Methods in io.github.ai4ci.util with parameters of type PersonHistoryModifier and TypeMethodDescriptionstatic PersonState
ModelNav.current
(PersonHistory person) static OutbreakHistory
ModelNav.outbreakHistory
(PersonHistory personHistory)