Class PartialExecutionConfiguration
- All Implemented Interfaces:
Abstraction.Modification<ExecutionConfiguration>
,Abstraction.Named
,Abstraction.Replica
,DemographicAdjustment.Execution<Abstraction.Distribution,
,Double> ExecutionConfiguration
,ExecutionConfiguration._PartialExecutionConfiguration
,Serializable
ExecutionConfiguration._PartialExecutionConfiguration
.
Use the builder to create immutable instances:
PartialExecutionConfiguration.builder()
.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final class
Builds instances of typePartialExecutionConfiguration
.Nested classes/interfaces inherited from interface io.github.ai4ci.config.ExecutionConfiguration
ExecutionConfiguration._PartialExecutionConfiguration
-
Field Summary
Fields inherited from interface io.github.ai4ci.config.ExecutionConfiguration
DEFAULT
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Creates a builder forPartialExecutionConfiguration
.Creates an immutable copy of aExecutionConfiguration._PartialExecutionConfiguration
value.boolean
This instance is equal to all instances ofPartialExecutionConfiguration
that have equal attribute values.The absolute rate of decrease in compliance in situations where the person is asked to self isolateThe absolute rate of decrease in compliance in situations where it is deemed to improveAdjustment of different parameters as a function of age.This is work in progress.At what simulation wide prevalence estimate is lockdown released.At what simulation wide prevalence estimate is lockdown initiated.getName()
Speed at which people change behaviour in response to symptoms.getRO()
The local risk profile (assessed through tests, symptoms, contacts etc) which is sufficient to trigger a request for testing and reactive self isolationint
hashCode()
Computes a hash code from attributes:name
,replicate
,rO
,asymptomaticFraction
,caseHospitalisationRate
,caseFatalityRate
,contactDetectedProbability
,complianceProbability
,appUseProbability
,inHostConfiguration
,availableTests
,symptomSensitivity
,symptomSpecificity
,initialEstimateInfectionDuration
,initialEstimateIncubationPeriod
,initialEstimateSymptomSensitivity
,initialEstimateSymptomSpecificity
,riskModelSymptomKernel
,riskModelTestKernel
,riskModelContactsKernel
,maximumSocialContactReduction
,defaultBehaviourModelName
,defaultPolicyModelName
,complianceDeteriorationRate
,complianceImprovementRate
,organicRateOfMobilityChange
,lockdownReleasePrevalenceTrigger
,lockdownStartPrevalenceTrigger
,importationProbability
,smartAppRiskTrigger
,demographicAdjustment
.toString()
Prints the immutable valueExecutionConfiguration
with attribute values.Copy the current immutable object by setting a value for theappUseProbability
attribute.withAsymptomaticFraction
(Double value) Copy the current immutable object by setting a value for theasymptomaticFraction
attribute.Copy the current immutable object by setting a value for theavailableTests
attribute.withCaseFatalityRate
(Double value) Copy the current immutable object by setting a value for thecaseFatalityRate
attribute.Copy the current immutable object by setting a value for thecaseHospitalisationRate
attribute.Copy the current immutable object by setting a value for thecomplianceDeteriorationRate
attribute.Copy the current immutable object by setting a value for thecomplianceImprovementRate
attribute.Copy the current immutable object by setting a value for thecomplianceProbability
attribute.Copy the current immutable object by setting a value for thecontactDetectedProbability
attribute.Copy the current immutable object by setting a value for thedefaultBehaviourModelName
attribute.withDefaultPolicyModelName
(String value) Copy the current immutable object by setting a value for thedefaultPolicyModelName
attribute.Copy the current immutable object by setting a value for thedemographicAdjustment
attribute.withImportationProbability
(Double value) Copy the current immutable object by setting a value for theimportationProbability
attribute.Copy the current immutable object by setting a value for theinHostConfiguration
attribute.Copy the current immutable object by setting a value for theinitialEstimateIncubationPeriod
attribute.Copy the current immutable object by setting a value for theinitialEstimateInfectionDuration
attribute.Copy the current immutable object by setting a value for theinitialEstimateSymptomSensitivity
attribute.Copy the current immutable object by setting a value for theinitialEstimateSymptomSpecificity
attribute.Copy the current immutable object by setting a value for thelockdownReleasePrevalenceTrigger
attribute.Copy the current immutable object by setting a value for thelockdownStartPrevalenceTrigger
attribute.Copy the current immutable object by setting a value for themaximumSocialContactReduction
attribute.Copy the current immutable object by setting a value for thename
attribute.Copy the current immutable object by setting a value for theorganicRateOfMobilityChange
attribute.withReplicate
(Integer value) Copy the current immutable object by setting a value for thereplicate
attribute.Copy the current immutable object by setting a value for theriskModelContactsKernel
attribute.Copy the current immutable object by setting a value for theriskModelSymptomKernel
attribute.Copy the current immutable object by setting a value for theriskModelTestKernel
attribute.Copy the current immutable object by setting a value for therO
attribute.withSmartAppRiskTrigger
(Double value) Copy the current immutable object by setting a value for thesmartAppRiskTrigger
attribute.Copy the current immutable object by setting a value for thesymptomSensitivity
attribute.Copy the current immutable object by setting a value for thesymptomSpecificity
attribute.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface io.github.ai4ci.config.ExecutionConfiguration
getInfectionCaseRate, getInfectionFatalityRate, getInfectionHospitalisationRate
Methods inherited from interface io.github.ai4ci.config.ExecutionConfiguration._PartialExecutionConfiguration
self
-
Method Details
-
getName
- Specified by:
getName
in interfaceAbstraction.Named
- Returns:
- The value of the
name
attribute
-
getReplicate
- Specified by:
getReplicate
in interfaceAbstraction.Replica
- Returns:
- The value of the
replicate
attribute
-
getRO
- Specified by:
getRO
in interfaceExecutionConfiguration
- Returns:
- The value of the
rO
attribute
-
getAsymptomaticFraction
- Specified by:
getAsymptomaticFraction
in interfaceDemographicAdjustment.Execution<Abstraction.Distribution,
Double> - Specified by:
getAsymptomaticFraction
in interfaceExecutionConfiguration
- Returns:
- The value of the
asymptomaticFraction
attribute
-
getCaseHospitalisationRate
- Specified by:
getCaseHospitalisationRate
in interfaceDemographicAdjustment.Execution<Abstraction.Distribution,
Double> - Specified by:
getCaseHospitalisationRate
in interfaceExecutionConfiguration
- Returns:
- The value of the
caseHospitalisationRate
attribute
-
getCaseFatalityRate
- Specified by:
getCaseFatalityRate
in interfaceDemographicAdjustment.Execution<Abstraction.Distribution,
Double> - Specified by:
getCaseFatalityRate
in interfaceExecutionConfiguration
- Returns:
- The value of the
caseFatalityRate
attribute
-
getContactDetectedProbability
- Specified by:
getContactDetectedProbability
in interfaceExecutionConfiguration
- Returns:
- The value of the
contactDetectedProbability
attribute
-
getComplianceProbability
- Specified by:
getComplianceProbability
in interfaceDemographicAdjustment.Execution<Abstraction.Distribution,
Double> - Specified by:
getComplianceProbability
in interfaceExecutionConfiguration
- Returns:
- The value of the
complianceProbability
attribute
-
getAppUseProbability
- Specified by:
getAppUseProbability
in interfaceDemographicAdjustment.Execution<Abstraction.Distribution,
Double> - Specified by:
getAppUseProbability
in interfaceExecutionConfiguration
- Returns:
- The value of the
appUseProbability
attribute
-
getInHostConfiguration
- Specified by:
getInHostConfiguration
in interfaceExecutionConfiguration
- Returns:
- The value of the
inHostConfiguration
attribute
-
getAvailableTests
- Specified by:
getAvailableTests
in interfaceExecutionConfiguration
- Returns:
- The value of the
availableTests
attribute
-
getSymptomSensitivity
- Specified by:
getSymptomSensitivity
in interfaceExecutionConfiguration
- Returns:
- The value of the
symptomSensitivity
attribute
-
getSymptomSpecificity
- Specified by:
getSymptomSpecificity
in interfaceExecutionConfiguration
- Returns:
- The value of the
symptomSpecificity
attribute
-
getInitialEstimateInfectionDuration
- Specified by:
getInitialEstimateInfectionDuration
in interfaceExecutionConfiguration
- Returns:
- The value of the
initialEstimateInfectionDuration
attribute
-
getInitialEstimateIncubationPeriod
- Specified by:
getInitialEstimateIncubationPeriod
in interfaceExecutionConfiguration
- Returns:
- The value of the
initialEstimateIncubationPeriod
attribute
-
getInitialEstimateSymptomSensitivity
- Specified by:
getInitialEstimateSymptomSensitivity
in interfaceExecutionConfiguration
- Returns:
- The value of the
initialEstimateSymptomSensitivity
attribute
-
getInitialEstimateSymptomSpecificity
- Specified by:
getInitialEstimateSymptomSpecificity
in interfaceExecutionConfiguration
- Returns:
- The value of the
initialEstimateSymptomSpecificity
attribute
-
getRiskModelSymptomKernel
- Specified by:
getRiskModelSymptomKernel
in interfaceExecutionConfiguration
- Returns:
- The value of the
riskModelSymptomKernel
attribute
-
getRiskModelTestKernel
- Specified by:
getRiskModelTestKernel
in interfaceExecutionConfiguration
- Returns:
- The value of the
riskModelTestKernel
attribute
-
getRiskModelContactsKernel
- Specified by:
getRiskModelContactsKernel
in interfaceExecutionConfiguration
- Returns:
- The value of the
riskModelContactsKernel
attribute
-
getMaximumSocialContactReduction
- Specified by:
getMaximumSocialContactReduction
in interfaceDemographicAdjustment.Execution<Abstraction.Distribution,
Double> - Specified by:
getMaximumSocialContactReduction
in interfaceExecutionConfiguration
- Returns:
- The value of the
maximumSocialContactReduction
attribute
-
getDefaultBehaviourModelName
- Specified by:
getDefaultBehaviourModelName
in interfaceExecutionConfiguration
- Returns:
- The value of the
defaultBehaviourModelName
attribute
-
getDefaultPolicyModelName
- Specified by:
getDefaultPolicyModelName
in interfaceExecutionConfiguration
- Returns:
- The value of the
defaultPolicyModelName
attribute
-
getComplianceDeteriorationRate
The absolute rate of decrease in compliance in situations where the person is asked to self isolate- Specified by:
getComplianceDeteriorationRate
in interfaceExecutionConfiguration
-
getComplianceImprovementRate
The absolute rate of decrease in compliance in situations where it is deemed to improve- Specified by:
getComplianceImprovementRate
in interfaceExecutionConfiguration
-
getOrganicRateOfMobilityChange
Speed at which people change behaviour in response to symptoms. I.e. the lambda of an exponential decay towards the maximum social contact reduction or back to baseline- Specified by:
getOrganicRateOfMobilityChange
in interfaceExecutionConfiguration
- Returns:
-
getLockdownReleasePrevalenceTrigger
At what simulation wide prevalence estimate is lockdown released. Estimated using test positives.- Specified by:
getLockdownReleasePrevalenceTrigger
in interfaceExecutionConfiguration
-
getLockdownStartPrevalenceTrigger
At what simulation wide prevalence estimate is lockdown initiated. Estimated using test positives.- Specified by:
getLockdownStartPrevalenceTrigger
in interfaceExecutionConfiguration
-
getImportationProbability
This is work in progress. Importations are defined in the PersonUpdaterFn.IMPORTATION_PROTOCOL and use this to define a random exposure uniform across the population depending on individual mobility.- Specified by:
getImportationProbability
in interfaceExecutionConfiguration
-
getSmartAppRiskTrigger
The local risk profile (assessed through tests, symptoms, contacts etc) which is sufficient to trigger a request for testing and reactive self isolation- Specified by:
getSmartAppRiskTrigger
in interfaceExecutionConfiguration
-
getDemographicAdjustment
Adjustment of different parameters as a function of age. In general probabilistic parameters will be adjusted as an odds ratio and other real values quantities will be simply scaled by the adjustment value. Adjustments are matched by name.- Specified by:
getDemographicAdjustment
in interfaceExecutionConfiguration
- See Also:
-
withName
Copy the current immutable object by setting a value for thename
attribute. An equals check used to prevent copying of the same value by returningthis
.- Specified by:
withName
in interfaceExecutionConfiguration
- Parameters:
value
- A new value for name (can benull
)- Returns:
- A modified copy of the
this
object
-
withReplicate
Copy the current immutable object by setting a value for thereplicate
attribute. An equals check used to prevent copying of the same value by returningthis
.- Specified by:
withReplicate
in interfaceExecutionConfiguration
- Parameters:
value
- A new value for replicate- Returns:
- A modified copy of the
this
object
-
withRO
Copy the current immutable object by setting a value for therO
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for rO (can benull
)- Returns:
- A modified copy of the
this
object
-
withAsymptomaticFraction
Copy the current immutable object by setting a value for theasymptomaticFraction
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for asymptomaticFraction (can benull
)- Returns:
- A modified copy of the
this
object
-
withCaseHospitalisationRate
Copy the current immutable object by setting a value for thecaseHospitalisationRate
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for caseHospitalisationRate (can benull
)- Returns:
- A modified copy of the
this
object
-
withCaseFatalityRate
Copy the current immutable object by setting a value for thecaseFatalityRate
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for caseFatalityRate (can benull
)- Returns:
- A modified copy of the
this
object
-
withContactDetectedProbability
Copy the current immutable object by setting a value for thecontactDetectedProbability
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for contactDetectedProbability (can benull
)- Returns:
- A modified copy of the
this
object
-
withComplianceProbability
public final PartialExecutionConfiguration withComplianceProbability(Abstraction.Distribution value) Copy the current immutable object by setting a value for thecomplianceProbability
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for complianceProbability (can benull
)- Returns:
- A modified copy of the
this
object
-
withAppUseProbability
Copy the current immutable object by setting a value for theappUseProbability
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for appUseProbability (can benull
)- Returns:
- A modified copy of the
this
object
-
withInHostConfiguration
Copy the current immutable object by setting a value for theinHostConfiguration
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for inHostConfiguration (can benull
)- Returns:
- A modified copy of the
this
object
-
withAvailableTests
Copy the current immutable object by setting a value for theavailableTests
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for availableTests (can benull
)- Returns:
- A modified copy of the
this
object
-
withSymptomSensitivity
Copy the current immutable object by setting a value for thesymptomSensitivity
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for symptomSensitivity (can benull
)- Returns:
- A modified copy of the
this
object
-
withSymptomSpecificity
Copy the current immutable object by setting a value for thesymptomSpecificity
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for symptomSpecificity (can benull
)- Returns:
- A modified copy of the
this
object
-
withInitialEstimateInfectionDuration
Copy the current immutable object by setting a value for theinitialEstimateInfectionDuration
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for initialEstimateInfectionDuration (can benull
)- Returns:
- A modified copy of the
this
object
-
withInitialEstimateIncubationPeriod
Copy the current immutable object by setting a value for theinitialEstimateIncubationPeriod
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for initialEstimateIncubationPeriod (can benull
)- Returns:
- A modified copy of the
this
object
-
withInitialEstimateSymptomSensitivity
Copy the current immutable object by setting a value for theinitialEstimateSymptomSensitivity
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for initialEstimateSymptomSensitivity (can benull
)- Returns:
- A modified copy of the
this
object
-
withInitialEstimateSymptomSpecificity
Copy the current immutable object by setting a value for theinitialEstimateSymptomSpecificity
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for initialEstimateSymptomSpecificity (can benull
)- Returns:
- A modified copy of the
this
object
-
withRiskModelSymptomKernel
public final PartialExecutionConfiguration withRiskModelSymptomKernel(RiskKernelConfiguration value) Copy the current immutable object by setting a value for theriskModelSymptomKernel
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for riskModelSymptomKernel (can benull
)- Returns:
- A modified copy of the
this
object
-
withRiskModelTestKernel
Copy the current immutable object by setting a value for theriskModelTestKernel
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for riskModelTestKernel (can benull
)- Returns:
- A modified copy of the
this
object
-
withRiskModelContactsKernel
public final PartialExecutionConfiguration withRiskModelContactsKernel(RiskKernelConfiguration value) Copy the current immutable object by setting a value for theriskModelContactsKernel
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for riskModelContactsKernel (can benull
)- Returns:
- A modified copy of the
this
object
-
withMaximumSocialContactReduction
public final PartialExecutionConfiguration withMaximumSocialContactReduction(Abstraction.Distribution value) Copy the current immutable object by setting a value for themaximumSocialContactReduction
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for maximumSocialContactReduction (can benull
)- Returns:
- A modified copy of the
this
object
-
withDefaultBehaviourModelName
Copy the current immutable object by setting a value for thedefaultBehaviourModelName
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for defaultBehaviourModelName (can benull
)- Returns:
- A modified copy of the
this
object
-
withDefaultPolicyModelName
Copy the current immutable object by setting a value for thedefaultPolicyModelName
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for defaultPolicyModelName (can benull
)- Returns:
- A modified copy of the
this
object
-
withComplianceDeteriorationRate
Copy the current immutable object by setting a value for thecomplianceDeteriorationRate
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for complianceDeteriorationRate (can benull
)- Returns:
- A modified copy of the
this
object
-
withComplianceImprovementRate
Copy the current immutable object by setting a value for thecomplianceImprovementRate
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for complianceImprovementRate (can benull
)- Returns:
- A modified copy of the
this
object
-
withOrganicRateOfMobilityChange
Copy the current immutable object by setting a value for theorganicRateOfMobilityChange
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for organicRateOfMobilityChange (can benull
)- Returns:
- A modified copy of the
this
object
-
withLockdownReleasePrevalenceTrigger
Copy the current immutable object by setting a value for thelockdownReleasePrevalenceTrigger
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for lockdownReleasePrevalenceTrigger (can benull
)- Returns:
- A modified copy of the
this
object
-
withLockdownStartPrevalenceTrigger
Copy the current immutable object by setting a value for thelockdownStartPrevalenceTrigger
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for lockdownStartPrevalenceTrigger (can benull
)- Returns:
- A modified copy of the
this
object
-
withImportationProbability
Copy the current immutable object by setting a value for theimportationProbability
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for importationProbability (can benull
)- Returns:
- A modified copy of the
this
object
-
withSmartAppRiskTrigger
Copy the current immutable object by setting a value for thesmartAppRiskTrigger
attribute. An equals check used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for smartAppRiskTrigger (can benull
)- Returns:
- A modified copy of the
this
object
-
withDemographicAdjustment
public final PartialExecutionConfiguration withDemographicAdjustment(PartialDemographicAdjustment value) Copy the current immutable object by setting a value for thedemographicAdjustment
attribute. A shallow reference equality check is used to prevent copying of the same value by returningthis
.- Parameters:
value
- A new value for demographicAdjustment (can benull
)- Returns:
- A modified copy of the
this
object
-
equals
This instance is equal to all instances ofPartialExecutionConfiguration
that have equal attribute values. -
hashCode
public int hashCode()Computes a hash code from attributes:name
,replicate
,rO
,asymptomaticFraction
,caseHospitalisationRate
,caseFatalityRate
,contactDetectedProbability
,complianceProbability
,appUseProbability
,inHostConfiguration
,availableTests
,symptomSensitivity
,symptomSpecificity
,initialEstimateInfectionDuration
,initialEstimateIncubationPeriod
,initialEstimateSymptomSensitivity
,initialEstimateSymptomSpecificity
,riskModelSymptomKernel
,riskModelTestKernel
,riskModelContactsKernel
,maximumSocialContactReduction
,defaultBehaviourModelName
,defaultPolicyModelName
,complianceDeteriorationRate
,complianceImprovementRate
,organicRateOfMobilityChange
,lockdownReleasePrevalenceTrigger
,lockdownStartPrevalenceTrigger
,importationProbability
,smartAppRiskTrigger
,demographicAdjustment
. -
toString
Prints the immutable valueExecutionConfiguration
with attribute values. -
getDefaultBehaviourModel
Returns a lazily initialized value of the
defaultBehaviourModel
attribute. Initialized once and only once and stored for subsequent access with proper synchronization. In case of any exception or error thrown by the lazy value initializer, the result will not be memoised (i.e. remembered) and on next call computation will be attempted again.- Specified by:
getDefaultBehaviourModel
in interfaceExecutionConfiguration
- Returns:
- A lazily initialized value of the
defaultBehaviourModel
attribute
-
getDefaultPolicyModel
Returns a lazily initialized value of the
defaultPolicyModel
attribute. Initialized once and only once and stored for subsequent access with proper synchronization. In case of any exception or error thrown by the lazy value initializer, the result will not be memoised (i.e. remembered) and on next call computation will be attempted again.- Specified by:
getDefaultPolicyModel
in interfaceExecutionConfiguration
- Returns:
- A lazily initialized value of the
defaultPolicyModel
attribute
-
getInfectivityProfile
Returns a lazily initialized value of the
infectivityProfile
attribute. Initialized once and only once and stored for subsequent access with proper synchronization. In case of any exception or error thrown by the lazy value initializer, the result will not be memoised (i.e. remembered) and on next call computation will be attempted again.- Specified by:
getInfectivityProfile
in interfaceExecutionConfiguration
- Returns:
- A lazily initialized value of the
infectivityProfile
attribute
-
getSeverityProfile
Returns a lazily initialized value of the
severityProfile
attribute. Initialized once and only once and stored for subsequent access with proper synchronization. In case of any exception or error thrown by the lazy value initializer, the result will not be memoised (i.e. remembered) and on next call computation will be attempted again.- Specified by:
getSeverityProfile
in interfaceExecutionConfiguration
- Returns:
- A lazily initialized value of the
severityProfile
attribute
-
copyOf
public static PartialExecutionConfiguration copyOf(ExecutionConfiguration._PartialExecutionConfiguration instance) Creates an immutable copy of aExecutionConfiguration._PartialExecutionConfiguration
value. Uses accessors to get values to initialize the new immutable instance. If an instance is already immutable, it is returned as is.- Parameters:
instance
- The instance to copy- Returns:
- A copied immutable ExecutionConfiguration instance
-
builder
Creates a builder forPartialExecutionConfiguration
.PartialExecutionConfiguration.builder() .setName(String | null) // nullable
name
.setReplicate(Integer) // optionalreplicate
.setRO(Double | null) // nullablerO
.setAsymptomaticFraction(Double | null) // nullableasymptomaticFraction
.setCaseHospitalisationRate(Double | null) // nullablecaseHospitalisationRate
.setCaseFatalityRate(Double | null) // nullablecaseFatalityRate
.setContactDetectedProbability(Double | null) // nullablecontactDetectedProbability
.setComplianceProbability(io.github.ai4ci.abm.mechanics.Abstraction.Distribution | null) // nullablecomplianceProbability
.setAppUseProbability(io.github.ai4ci.abm.mechanics.Abstraction.Distribution | null) // nullableappUseProbability
.setInHostConfiguration(io.github.ai4ci.config.inhost.InHostConfiguration | null) // nullableinHostConfiguration
.setAvailableTests(io.github.ai4ci.util.ShallowList<io.github.ai4ci.config.TestParameters> | null) // nullableavailableTests
.setSymptomSensitivity(io.github.ai4ci.abm.mechanics.Abstraction.Distribution | null) // nullablesymptomSensitivity
.setSymptomSpecificity(io.github.ai4ci.abm.mechanics.Abstraction.Distribution | null) // nullablesymptomSpecificity
.setInitialEstimateInfectionDuration(Double | null) // nullableinitialEstimateInfectionDuration
.setInitialEstimateIncubationPeriod(Double | null) // nullableinitialEstimateIncubationPeriod
.setInitialEstimateSymptomSensitivity(Double | null) // nullableinitialEstimateSymptomSensitivity
.setInitialEstimateSymptomSpecificity(Double | null) // nullableinitialEstimateSymptomSpecificity
.setRiskModelSymptomKernel(io.github.ai4ci.config.riskmodel.RiskKernelConfiguration | null) // nullableriskModelSymptomKernel
.setRiskModelTestKernel(io.github.ai4ci.config.riskmodel.RiskKernelConfiguration | null) // nullableriskModelTestKernel
.setRiskModelContactsKernel(io.github.ai4ci.config.riskmodel.RiskKernelConfiguration | null) // nullableriskModelContactsKernel
.setMaximumSocialContactReduction(io.github.ai4ci.abm.mechanics.Abstraction.Distribution | null) // nullablemaximumSocialContactReduction
.setDefaultBehaviourModelName(String | null) // nullabledefaultBehaviourModelName
.setDefaultPolicyModelName(String | null) // nullabledefaultPolicyModelName
.setComplianceDeteriorationRate(Double | null) // nullablecomplianceDeteriorationRate
.setComplianceImprovementRate(Double | null) // nullablecomplianceImprovementRate
.setOrganicRateOfMobilityChange(Double | null) // nullableorganicRateOfMobilityChange
.setLockdownReleasePrevalenceTrigger(Double | null) // nullablelockdownReleasePrevalenceTrigger
.setLockdownStartPrevalenceTrigger(Double | null) // nullablelockdownStartPrevalenceTrigger
.setImportationProbability(Double | null) // nullableimportationProbability
.setSmartAppRiskTrigger(Double | null) // nullablesmartAppRiskTrigger
.setDemographicAdjustment(PartialDemographicAdjustment | null) // nullabledemographicAdjustment
.build();- Returns:
- A new PartialExecutionConfiguration builder
-