Uses of Interface
io.github.ai4ci.abm.mechanics.State
Packages that use State
Package
Description
-
Uses of State in io.github.ai4ci.abm.behaviour
Subinterfaces of State in io.github.ai4ci.abm.behaviourModifier and TypeInterfaceDescriptioninterface
Called during an update cycle before any changes have been made This means any references to state refers to current state, but any references to history refer to the previous state.Classes in io.github.ai4ci.abm.behaviour that implement StateModifier and TypeClassDescriptionenum
enum
enum
enum
enum
enum
-
Uses of State in io.github.ai4ci.abm.mechanics
Classes in io.github.ai4ci.abm.mechanics with type parameters of type StateModifier and TypeInterfaceDescriptioninterface
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.Subinterfaces of State in io.github.ai4ci.abm.mechanicsModifier and TypeInterfaceDescriptionstatic interface
static interface
static interface
Flags a behaviour model for not needing any testing or history updates.static interface
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).Methods in io.github.ai4ci.abm.mechanics that return StateModifier and TypeMethodDescriptionfinal State<?,
?, ?, ?> ModifiableStateMachineContext.getBaselineState()
State<?,
?, ?, ?> StateMachineContext.getBaselineState()
State<?,
?, ?, ?> StateMachine.getState()
Methods in io.github.ai4ci.abm.mechanics that return types with arguments of type StateModifier and TypeMethodDescriptionState.getEnumClass()
ModifiableStateMachineContext.getLastState()
StateMachineContext.getLastState()
Methods in io.github.ai4ci.abm.mechanics with parameters of type StateModifier and TypeMethodDescriptionModifiableStateMachineContext.addLastState
(State<?, ?, ?, ?> element) Adds one element tolastState
list.ModifiableStateMachineContext.addLastState
(State<?, ?, ?, ?>... elements) Adds elements tolastState
list.default void
void
StateMachine.rememberCurrentState
(State<?, ?, ?, ?> state) Remembers the current state if the behaviour is switching from one type to another (each behaviour model is an enum so the class of a group of behaviour states is the same).ModifiableStateMachineContext.setBaselineState
(State<?, ?, ?, ?> baselineState) Assigns a value to thebaselineState
attribute.Method parameters in io.github.ai4ci.abm.mechanics with type arguments of type StateModifier and TypeMethodDescriptionModifiableStateMachineContext.addAllLastState
(Iterable<? extends State<?, ?, ?, ?>> elements) Adds elements tolastState
list.ModifiableStateMachineContext.setLastState
(Iterable<? extends State<?, ?, ?, ?>> elements) Sets or replaces all elements forlastState
list.Constructors in io.github.ai4ci.abm.mechanics with parameters of type StateModifierConstructorDescriptionStateMachine
(State<?, ?, ?, ?> defaultStateMachineState, StateMachineContext context) -
Uses of State in io.github.ai4ci.abm.policy
Subinterfaces of State in io.github.ai4ci.abm.policyClasses in io.github.ai4ci.abm.policy that implement State