Uses of Class
io.github.ai4ci.abm.Person
Packages that use Person
Package
Description
-
Uses of Person in io.github.ai4ci.abm
Subclasses of Person in io.github.ai4ci.abmMethods in io.github.ai4ci.abm that return PersonModifier and TypeMethodDescriptionImmutablePersonHistory.getEntity()
ImmutablePersonState.getEntity()
Methods in io.github.ai4ci.abm that return types with arguments of type PersonModifier and TypeMethodDescriptionfinal ThreadSafeArray<Person>
ModifiableOutbreak.getPeople()
Outbreak.getPeople()
Outbreak.getPersonById
(int id) final org.jgrapht.graph.SimpleWeightedGraph<Person,
SocialRelationship> ModifiableOutbreak.getSocialNetwork()
org.jgrapht.graph.SimpleWeightedGraph<Person,
SocialRelationship> Outbreak.getSocialNetwork()
Methods in io.github.ai4ci.abm with parameters of type PersonModifier and TypeMethodDescriptionFill this modifiable instance with attribute values from the providedPerson
instance.Initializes the value for theentity
attribute.Initializes the value for theentity
attribute.final ImmutablePersonHistory
ImmutablePersonHistory.withEntity
(Person value) Copy the current immutable object by setting a value for theentity
attribute.final ImmutablePersonState
ImmutablePersonState.withEntity
(Person value) Copy the current immutable object by setting a value for theentity
attribute.Method parameters in io.github.ai4ci.abm with type arguments of type PersonModifier and TypeMethodDescriptionModifiableOutbreak.setPeople
(ThreadSafeArray<Person> people) Assigns a value to thepeople
attribute.ModifiableOutbreak.setSocialNetwork
(org.jgrapht.graph.SimpleWeightedGraph<Person, SocialRelationship> socialNetwork) Assigns a value to thesocialNetwork
attribute. -
Uses of Person in io.github.ai4ci.abm.builders
Methods in io.github.ai4ci.abm.builders with parameters of type PersonModifier and TypeMethodDescriptionAgeStratifiedModelBuilder.baselinePerson
(ImmutablePersonBaseline.Builder builder, Person person, Sampler rng) DefaultModelBuilder.baselinePerson
(ImmutablePersonBaseline.Builder builder, Person person, Sampler rng) default ImmutablePersonBaseline
DefaultPersonBaseliner.baselinePerson
(ImmutablePersonBaseline.Builder builder, Person person, Sampler rng) AgeStratifiedModelBuilder.initialisePerson
(ImmutablePersonState.Builder builder, Person person, Sampler rng) DefaultModelBuilder.initialisePerson
(ImmutablePersonState.Builder builder, Person person, Sampler rng) default ImmutablePersonState
DefaultPersonInitialiser.initialisePerson
(ImmutablePersonState.Builder builder, Person person, Sampler rng) -
Uses of Person in io.github.ai4ci.abm.inhost
Methods in io.github.ai4ci.abm.inhost with parameters of type Person -
Uses of Person in io.github.ai4ci.abm.mechanics
Methods in io.github.ai4ci.abm.mechanics with parameters of type PersonModifier and TypeMethodDescriptionabstract ImmutablePersonBaseline
AbstractModelBuilder.baselinePerson
(ImmutablePersonBaseline.Builder builder, Person person, Sampler rng) AbstractModelBuilder.doBaselinePerson
(ImmutablePersonBaseline.Builder builder, Person p, Sampler sampler) AbstractModelBuilder.doInitialisePerson
(ImmutablePersonState.Builder builder, Person p, Sampler sampler) abstract ImmutablePersonState
AbstractModelBuilder.initialisePerson
(ImmutablePersonState.Builder builder, Person person, Sampler rng) Method parameters in io.github.ai4ci.abm.mechanics with type arguments of type PersonModifier and TypeMethodDescriptionstatic 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).ModelOperation.updatePersonState
(Predicate<Person> selector, ModelOperation.TriConsumer<ImmutablePersonState.Builder, Person, Sampler> consumer) ModelOperation.updatePersonState
(Predicate<Person> selector, ModelOperation.TriConsumer<ImmutablePersonState.Builder, Person, Sampler> consumer) Updater.withPersonProcessor
(Predicate<Person> test, ModelOperation.TriConsumer<ImmutablePersonState.Builder, Person, Sampler> updater) Updater.withPersonProcessor
(Predicate<Person> test, ModelOperation.TriConsumer<ImmutablePersonState.Builder, Person, Sampler> updater) -
Uses of Person in io.github.ai4ci.abm.riskmodel
Methods in io.github.ai4ci.abm.riskmodel that return PersonMethods in io.github.ai4ci.abm.riskmodel with parameters of type PersonModifier and TypeMethodDescriptionstatic RiskModel
RiskModel.initialise
(Person person) Initializes the value for theentity
attribute.final ImmutableRiskModel
ImmutableRiskModel.withEntity
(Person value) Copy the current immutable object by setting a value for theentity
attribute. -
Uses of Person in io.github.ai4ci.config.setup
Methods in io.github.ai4ci.config.setup with parameters of type PersonModifier and TypeMethodDescriptiondefault double
AgeStratifiedNetworkConfiguration.adjustedProbabilityContact
(double p, Person one, Person two) Compared to an average relationship strength of 1 how close is the relationship between two people, expressed as an odds ratio. -
Uses of Person in io.github.ai4ci.output
Methods in io.github.ai4ci.output with parameters of type PersonModifier and TypeMethodDescriptionCSVMapper.toContacts
(Person person) protected abstract ImmutablePersonDemographicsCSV
CSVMapper.toCSV
(Person person, PersonDemographic demog, PersonBaseline baseline) protected ImmutablePersonDemographicsCSV
CSVMapperImpl.toCSV
(Person person, PersonDemographic demog, PersonBaseline baseline) -
Uses of Person in io.github.ai4ci.util
Methods in io.github.ai4ci.util that return types with arguments of type PersonMethods in io.github.ai4ci.util with parameters of type PersonModifier and TypeMethodDescriptionstatic PersonBaseline
static OutbreakBaseline
static ExecutionConfiguration
ModelNav.modelParam
(Person person) static OutbreakState
ModelNav.modelState
(Person person)