|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Person | |
---|---|
uaa.feral.context | |
uaa.feral.social.demographics | |
uaa.feral.social.leadership | |
uaa.feral.social.waterUse |
Uses of Person in uaa.feral.context |
---|
Methods in uaa.feral.context that return types with arguments of type Person | |
---|---|
java.util.List<Person> |
ScenarioBuilder.createPeople(java.util.Map<java.lang.String,java.lang.Object> data,
Community community)
Method to create a population for a town based on file data |
java.util.List<Person> |
ScenarioBuilder.createPeopleSpread(Community community,
double number,
Sex sex,
com.vividsolutions.jts.geom.Point point,
int ageFrom,
int ageTo)
Method to create people based on population data |
java.util.List<Person> |
SocialNetworkBuilder.parseSocialNetworkData(java.util.List<java.util.Map> data,
Community community)
Method to parse the initial social network input |
Methods in uaa.feral.context with parameters of type Person | |
---|---|
void |
SocialNetworkBuilder.createLink(Person p1,
Person p2,
double weightF)
Method to create the social links in the network |
Method parameters in uaa.feral.context with type arguments of type Person | |
---|---|
void |
SocialNetworkBuilder.createNetwork(java.util.Map<Person,java.util.Map<java.lang.String,java.lang.String>> tempData)
Method that creates the social network |
Uses of Person in uaa.feral.social.demographics |
---|
Methods in uaa.feral.social.demographics with parameters of type Person | |
---|---|
double |
StandardDemographicTable.demographicFunction(Person person)
Method that gets probability of death (or fertility if needed) |
Uses of Person in uaa.feral.social.leadership |
---|
Methods in uaa.feral.social.leadership with parameters of type Person | |
---|---|
double |
AgentTypesModel.approvalBias(Person person1,
Person person2)
Delta ABij=(ASij+T(ABij))/2, j!=i |
double |
AgentTypesModel.approvalByPeers(Person p)
Ai=(1/N)*Sum(aji*wij), i!=j. |
double |
AgentTypesModel.approvalSatisfaction(Person person1,
Person person2)
ASij=(1-Di)*Aj+Di*aji*wij. |
double |
AgentTypesModel.choiceSatisfaction(Person p)
CSi=(1-Di)*S+Di*ci-ei. |
double |
AgentTypesModel.complianceBias(Person p)
Delta CBi=(CSi+T(CBi))/2. |
double |
AgentTypesModel.influenceApproval(Person person1,
Person person2)
IAik=(1/n)*Sum(((wij+2*Ij)*ajk)/3), j!=i, k. |
double |
AgentTypesModel.influenceCompliance(Person p)
ICi=(1/n)*Sum(((wij+2*Ij)*cj)/3), j!=i. |
double |
AgentTypesModel.propensityToApprove(Person person1,
Person person2)
PAij=(1-Di)*ABij+Di*IAij. |
double |
AgentTypesModel.propensityToComply(Person p)
PCi=(1-di)*CBi+di*ICi, while i!=Alpha. |
void |
AgentTypesModel.updateApprovalState(Person person1,
Person person2,
double approveP)
Method to adjust approval state between two agents based on PAij. |
void |
AgentTypesModel.updateChoicePropensity(Person person1,
double propensity)
Method adjusts choice to agree or not based on PCi. |
double |
AgentTypesModel.weightChange(Person person1,
Person person2,
double propensityToChoose)
Delta wij=1/4(PCi*cj+T(wij)+aji*Di+Sum((PAij*akj)/n)), i!=j,k. |
Uses of Person in uaa.feral.social.waterUse |
---|
Methods in uaa.feral.social.waterUse with parameters of type Person | |
---|---|
void |
SocialDistancingModified.adjustViewsOfOtherSources(Person person,
HydrologicalUnit hu)
Method to determine perception of other sources |
void |
SocialDistancing.bayesianPreference(HydrologicalUnit hu,
Person p)
Method that calculates water source preferences |
void |
SocialDistancingModified.checkPerson(Person p)
Method that checks to see if the person agent has previously been used in the model |
void |
SocialDistancing.checkPerson(Person p)
Method that checks to see if the person agent has previously been used in the model |
void |
SocialDistancingModified.collectWater(Person person,
HydrologicalUnit hu)
Method that calls a method to update quantity extracted by an agent |
void |
SocialDistancing.collectWater(Person person,
HydrologicalUnit hu)
Method that calls a method to update quantity extracted by an agent |
void |
SocialDistancingModified.moveToMunicipalWaterSource(Person p)
Method to move to a municipal water source |
void |
SocialDistancing.moveToMunicipalWaterSource(Person p)
Method to move to a municipal water source |
void |
SocialDistancingModified.moveToNaturalWaterSource(Person p)
Method to move to non-municipal water sources |
void |
SocialDistancing.moveToNaturalWaterSource(Person p)
Method to move to non-municipal water sources |
void |
SocialDistancingModified.moveToWaterSource(Person p)
Method that calls the methods that move an agent to a given water source location. |
void |
SocialDistancing.moveToWaterSource(Person p)
Method that calls the methods that move an agent to a given water source location. |
void |
SocialDistancingModified.organizeWaterForPeople(Person person)
Method associates a person agent with different water use quantities and data holders |
void |
SocialDistancing.organizeWaterForPeople(Person person)
Method associates a person agent with different water use quantities and data holders |
double[] |
SocialDistancingModified.preferenceWeighted(Person person,
double[] belief)
Method to weight preferences for certain water sources |
double[] |
SocialDistancing.preferenceWeighted(Person person,
double[] belief)
Method to weight preferences for certain water sources |
void |
SocialDistancingModified.removeAgent(Person p)
Method to remove agent from the models data |
void |
SocialDistancing.removeAgent(Person p)
Method to remove agent from the models data |
void |
SocialDistancingModified.returnHome(Person p)
Method moves the agents home (i.e the location of their community) |
void |
SocialDistancing.returnHome(Person p)
Method moves the agents home (i.e the location of their community) |
HydrologicalUnit |
SocialDistancingModified.selectWaterSource(Person person)
Method that selects a hydrological source for an agent to use |
HydrologicalUnit |
SocialDistancing.selectWaterSource(Person person)
Method that selects a hydrological source for an agent to use |
void |
SocialDistancingModified.source(Person p)
Method that calls the method for an agent to search for a water source |
void |
SocialDistancing.source(Person p)
Method that calls the method for an agent to search for a water source |
void |
SocialDistancingModified.updateQuantityBelief(Person person,
HydrologicalUnit hu)
Method updates the belief of an agent on how much water there is for a given water source |
void |
SocialDistancing.updateQuantityBelief(Person person,
HydrologicalUnit hu)
Method updates the belief of an agent on how much water there is for a given water source |
void |
SocialDistancingModified.updateQuantityChangeBelief(Person person,
HydrologicalUnit hu)
Method that updates an agents belief about quantity changes in the water source used |
void |
SocialDistancing.updateQuantityChangeBelief(Person person,
HydrologicalUnit hu)
Method that updates an agents belief about quantity changes in the water source used |
void |
SocialDistancingModified.updateQuantityHistory(HydrologicalUnit hu,
Person person,
double quantity)
Method that updates the history kept by an agent about quantities (latest historical values based on length of historical memory) |
void |
SocialDistancing.updateQuantityHistory(HydrologicalUnit hu,
Person person,
double quantity)
Method that updates the history kept by an agent about quantities (latest historical values based on length of historical memory) |
void |
SocialDistancingModified.updateQuantityMaximum(HydrologicalUnit hu,
Person person,
double waterToCollect)
Method to see if the water collected is an amount among the record high amounts of water collected in agent memory |
void |
SocialDistancing.updateQuantityMaximum(HydrologicalUnit hu,
Person person,
double waterToCollect)
Method to see if the water collected is an amount among the record high amounts of water collected in agent memory |
void |
SocialDistancingModified.updateQuantityMinimum(HydrologicalUnit hu,
Person person,
double waterToCollect)
Method that checks to see if the water quantity is among the minimum amounts kept in memory by an agent |
void |
SocialDistancing.updateQuantityMinimum(HydrologicalUnit hu,
Person person,
double waterToCollect)
Method that checks to see if the water quantity is among the minimum amounts kept in memory by an agent |
void |
SocialDistancingModified.updateQuantityRecord(HydrologicalUnit hu,
Person person,
double quantity)
Method that calls methods that updates different quantity related values (history, minimum, maximum, quantity belief, and quantity change belief) |
void |
SocialDistancing.updateQuantityRecord(HydrologicalUnit hu,
Person person,
double quantity)
Method that calls methods that updates different quantity related values (history, minimum, maximum, quantity belief, and quantity change belief) |
void |
SocialDistancingModified.updateSourcePreferences(Person p)
Method updates an agents preference for water sources |
void |
SocialDistancing.updateSourcePreferences(Person p)
Method updates an agents preference for water sources |
void |
SocialDistancingModified.visitWeightedPreference(Person p)
Method to give weights to sources visited |
void |
SocialDistancing.visitWeightedPreference(Person p)
Method to give weights to sources visited |
double[] |
SocialDistancingModified.weightWaterByDistance(Person person,
int size)
Weight water sources by distance |
double[] |
SocialDistancing.weightWaterByDistance(Person person,
int size)
Weight water sources by distance |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |