Package | Description |
---|---|
ucl.entities | |
ucl.model |
Modifier and Type | Field and Description |
---|---|
java.util.List<Agent> |
Settlement.people
The people located at a settlement at a given time
|
java.util.Map<Agent,java.lang.Double> |
Settlement.rangeOfChoice
The range of benefits for agents in a given settlement
|
Modifier and Type | Method and Description |
---|---|
java.util.List<Agent> |
Settlement.getPeople() |
java.util.Map<Agent,java.lang.Double> |
Settlement.getRangeOfChoice() |
Modifier and Type | Method and Description |
---|---|
void |
Settlement.setPeople(java.util.List<Agent> people) |
void |
Settlement.setRangeOfChoice(java.util.Map<Agent,java.lang.Double> rangeOfChoice) |
Modifier and Type | Method and Description |
---|---|
void |
SettlementModel.calculateSocioEnvironment(Settlement c,
Agent p)
This method calculates the social and environmental weights and benefits for a given
place (c) for an agent (p).
|
void |
AgentSettlementModel.determineRelocate(Agent 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 |
AgentSettlementModel.flowFromTowns(Agent p)
This determines probability a person will visit
and thus benefit a site via interaction.
|
Settlement |
AgentSettlementModel.relocate(Agent p)
This method selects the settlement of relocation based on distance and its
flow (e.g., economic) and social benefits (i.e., other people from the same home or initial settlement)
|
Modifier and Type | Method and Description |
---|---|
void |
TestSettlementModel.createPeople(java.util.List<Agent> ps,
int n,
int cn,
Settlement s)
Create people.
|
void |
TestAgentSettlementModel.createPeople(java.util.List<Agent> ps,
int n,
int cn,
Settlement s)
Create people
|