Package | Description |
---|---|
ucl.entities | |
ucl.model |
Modifier and Type | Field and Description |
---|---|
java.util.List<Person> |
Settlement.people |
java.util.Map<Person,java.lang.Double> |
Settlement.rangeOfChoice |
Modifier and Type | Method and Description |
---|---|
java.util.List<Person> |
Settlement.getPeople() |
java.util.Map<Person,java.lang.Double> |
Settlement.getRangeOfChoice() |
Modifier and Type | Method and Description |
---|---|
void |
Settlement.setPeople(java.util.List<Person> people) |
void |
Settlement.setRangeOfChoice(java.util.Map<Person,java.lang.Double> rangeOfChoice) |
Modifier and Type | Method and Description |
---|---|
void |
CityModel.calculateSocioEnvironment(Settlement c,
Person p)
This method calculates the social and environmental weights and benefits for a given
place (c) for an agent (p).
|
void |
AgentCityModel.determineRelocate(Person p)
Based on overall net flow and probability of relocation, a person determines
if he/she will relocate to a new settlement and which settlement that will be.
|
void |
AgentCityModel.probabilityOfVisit(Person p)
This determines probability a person will visit
and thus benefit a site via interaction.
|
Settlement |
AgentCityModel.relocate(Person p)
This method selects the settlement of relocation based on distance and its
flow (economic) and social benefits (i.e., other people from the same home or initial settlement)
|
Modifier and Type | Method and Description |
---|---|
void |
TestCityModel.createPeople(java.util.List<Person> ps,
int n,
int cn,
Settlement s)
Create people.
|
void |
TestAgentCityModel.createPeople(java.util.List<Person> ps,
int n,
int cn,
Settlement s)
Create people
|