Interface InHostStochasticState

All Superinterfaces:
InHostModelState<StochasticModel>, Serializable
All Known Implementing Classes:
ImmutableInHostStochasticState

@Immutable public interface InHostStochasticState extends InHostModelState<StochasticModel>
  • Method Details

    • getTargets

      int getTargets()
    • getImmuneTargetRatio

      double getImmuneTargetRatio()
    • getImmuneActivationRate

      double getImmuneActivationRate()
    • getImmuneWaningRate

      double getImmuneWaningRate()
    • getInfectionCarrierProbability

      double getInfectionCarrierProbability()
    • getTargetRecoveryRate

      double getTargetRecoveryRate()
    • getTime

      int getTime()
      Specified by:
      getTime in interface InHostModelState<StochasticModel>
    • getVirions

      int getVirions()
    • getVirionsProduced

      int getVirionsProduced()
    • getTargetSusceptible

      int getTargetSusceptible()
    • getTargetExposed

      int getTargetExposed()
    • getTargetInfected

      int getTargetInfected()
    • getImmune

      @Default default Integer getImmune()
    • getImmunePriming

      int getImmunePriming()
    • getImmuneActive

      int getImmuneActive()
    • getBaselineViralReplicationRate

      @Redacted double getBaselineViralReplicationRate()
    • getBaselineViralInfectionRate

      @Redacted double getBaselineViralInfectionRate()
    • getVirionsDiseaseCutoff

      @Redacted int getVirionsDiseaseCutoff()
    • getTargetRemoved

      @Derived default int getTargetRemoved()
    • getNormalisedViralLoad

      @Derived default double getNormalisedViralLoad()
      Specified by:
      getNormalisedViralLoad in interface InHostModelState<StochasticModel>
    • isInfected

      default boolean isInfected()
      Infected but may be incubating
      Specified by:
      isInfected in interface InHostModelState<StochasticModel>
    • getNormalisedSeverity

      @Derived default double getNormalisedSeverity()
      Specified by:
      getNormalisedSeverity in interface InHostModelState<StochasticModel>
    • getImmuneActivity

      @Derived default double getImmuneActivity()
      Specified by:
      getImmuneActivity in interface InHostModelState<StochasticModel>
    • getImmuneDormant

      @Derived default int getImmuneDormant()
    • update

      default InHostStochasticState update(Sampler rng, double virionDose, double immunisationDose)
      Update the viral load for a person. This depends on the PersonHistory being up to date which it should be based on the fact this is updated during the next update phase.
      Specified by:
      update in interface InHostModelState<StochasticModel>
      Parameters:
      rng - (thread local RNG)
      Returns: