Package io.github.ai4ci.abm.mechanics
package io.github.ai4ci.abm.mechanics
-
ClassDescriptionAbstraction.HistoricalStateProvider<H extends Abstraction.TemporalState<?>>Abstraction.TemporalState<E extends Abstraction.Entity>ModelOperation.BiFunction<A,
B, R> ModelOperation.TriConsumer<A,B, C> ModelOperation.TriFunction<A,B, C, R> ModelOperation.UpdateStage<FACTORY,INPUT> An abstract update stage comprises of a selector which allows you to filter the input, using getSelector, then process the input using getConsumer..A modifiable implementation of theStateMachineContext
type.This is a temporary data structure that gets generated during the update cycle to hold all the contact and exposures before they are written to the individualPersonHistory
entries in the model.This abstraction lets us have policy and behaviour models sharing the same state model framework, so outbreak and person updates can follow the same pattern.Flags a behaviour model for not needing any testing or history updates.Flags a behaviour model as seeking (and performing) a PCR test if the person has been symptomatic for 2 days in a row and is compliant and has not had a test in a set number of days (regardless of test outcome).