Uses of Interface
io.github.ai4ci.abm.mechanics.StateMachine.BehaviourState
Packages that use StateMachine.BehaviourState
-
Uses of StateMachine.BehaviourState in io.github.ai4ci.abm
Methods in io.github.ai4ci.abm that return StateMachine.BehaviourStateModifier and TypeMethodDescriptionImmutablePersonBaseline.getDefaultBehaviourState()
PersonBaseline.getDefaultBehaviourState()
Methods in io.github.ai4ci.abm with parameters of type StateMachine.BehaviourStateModifier and TypeMethodDescriptionImmutablePersonBaseline.Builder.setDefaultBehaviourState
(StateMachine.BehaviourState defaultBehaviourState) Initializes the value for thedefaultBehaviourState
attribute.final ImmutablePersonBaseline
ImmutablePersonBaseline.withDefaultBehaviourState
(StateMachine.BehaviourState value) Copy the current immutable object by setting a value for thedefaultBehaviourState
attribute. -
Uses of StateMachine.BehaviourState in io.github.ai4ci.abm.behaviour
Subinterfaces of StateMachine.BehaviourState 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 StateMachine.BehaviourStateModifier and TypeClassDescriptionenum
enum
enum
enum
enum
enum
-
Uses of StateMachine.BehaviourState in io.github.ai4ci.abm.mechanics
Subinterfaces of StateMachine.BehaviourState in io.github.ai4ci.abm.mechanicsModifier and TypeInterfaceDescriptionstatic 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 StateMachine.BehaviourStateModifier and TypeMethodDescriptionstatic StateMachine.BehaviourState
StateUtils.branchTo
(PersonState current, StateMachine.BehaviourState behaviour) Force one person to branch to a set behaviour, the current state is pushed to allow them to return to the current behaviour (using a returnFromBranch call).static StateMachine.BehaviourState
StateUtils.countdown
(int i, StateMachine.BehaviourState state) places machine into given behaviour for up to i iterations, then reverts to the last pushed behaviour.static StateMachine.BehaviourState
StateUtils.graduallyRestoreBehaviour
(int i, StateMachine.BehaviourState state) A state that reverts mobility and transmissibility to baseline while the machine continues in normal operation, over a set time period.default StateMachine.BehaviourState
StateMachineContext.pullBehaviour()
static StateMachine.BehaviourState
StateUtils.toLastBranchPoint
(StateMachineContext context) return from a branched behaviour model.Methods in io.github.ai4ci.abm.mechanics with parameters of type StateMachine.BehaviourStateModifier and TypeMethodDescriptionstatic void
StateUtils.branchPeopleTo
(OutbreakState current, StateMachine.BehaviourState behaviour) static void
StateUtils.branchPeopleTo
(OutbreakState current, StateMachine.BehaviourState behaviour, Predicate<Person> filter) Force all people in a model to branch to a specified behaviour, the current state is pushed to allow people to return to the current behaviour (using a returnFromBranch call).static StateMachine.BehaviourState
StateUtils.branchTo
(PersonState current, StateMachine.BehaviourState behaviour) Force one person to branch to a set behaviour, the current state is pushed to allow them to return to the current behaviour (using a returnFromBranch call).static StateMachine.BehaviourState
StateUtils.countdown
(int i, StateMachine.BehaviourState state) places machine into given behaviour for up to i iterations, then reverts to the last pushed behaviour.void
StateMachine.forceTo
(StateMachine.BehaviourState state) static StateMachine.BehaviourState
StateUtils.graduallyRestoreBehaviour
(int i, StateMachine.BehaviourState state) A state that reverts mobility and transmissibility to baseline while the machine continues in normal operation, over a set time period.void
StateMachine.init
(StateMachine.BehaviourState policy)