Enum LockdownIsolation

java.lang.Object
java.lang.Enum<LockdownIsolation>
io.github.ai4ci.abm.behaviour.LockdownIsolation
All Implemented Interfaces:
BehaviourModel, State<ImmutablePersonState.Builder,ImmutablePersonHistory.Builder,PersonState,StateMachine.BehaviourState>, StateMachine.BehaviourState, StateUtils.DoesPCRIfSymptomatic, Serializable, Comparable<LockdownIsolation>, java.lang.constant.Constable

public enum LockdownIsolation extends Enum<LockdownIsolation> implements BehaviourModel, StateUtils.DoesPCRIfSymptomatic
  • Enum Constant Details

    • ISOLATE

      public static final LockdownIsolation ISOLATE
      Everyone enters minimal mobility state immediately in instruction to lock down (@see WAIT). This is triggered by ReactiveLockdown.MONITOR. This is centrally enforced and results in the person branching from their previous behaviour pausing that.
    • WAIT

      public static final LockdownIsolation WAIT
      In the locked down waiting state people's compliance levels will decrease linearly. If the person's compliance level falls too low the person will randomly become non-compliant to lockdown. In the case of becoming non compliant to lockdown the person will return to whatever they were doing before lockdown (but with reduced compliance)
    • RELEASE

      public static final LockdownIsolation RELEASE
      After the lockdown is released, triggered by ReactiveLockdown.LOCKDOWN, people return to a mobility state larger than their baseline, gradually return to their default mobility over the next 10 days, and return to whatever state they were in before the lockdown was triggered.
  • Method Details

    • values

      public static LockdownIsolation[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static LockdownIsolation valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null