Package | Description |
---|---|
ucl.context | |
ucl.entities | |
ucl.model | |
ucl.output |
Modifier and Type | Field and Description |
---|---|
static java.util.List<Settlement> |
ContextCreator.cities
List containing simulation settlements
|
Modifier and Type | Field and Description |
---|---|
Settlement |
Agent.settlement
The current settlement the agent is located at
|
Modifier and Type | Field and Description |
---|---|
java.util.Map<Settlement,java.lang.Double> |
Agent.flowToSettlementProbability
Map used to keep track of flow to a settlement
|
Modifier and Type | Method and Description |
---|---|
Settlement |
Agent.getSettlement() |
Modifier and Type | Method and Description |
---|---|
java.util.Map<Settlement,java.lang.Double> |
Agent.getFlowToSettlementProbability() |
Modifier and Type | Method and Description |
---|---|
void |
Agent.setSettlement(Settlement Settlement) |
Modifier and Type | Method and Description |
---|---|
void |
Agent.setFlowToSettlementProbability(java.util.Map<Settlement,java.lang.Double> flowToSettlementProbability) |
Constructor and Description |
---|
SettlementEdge(Settlement first,
Settlement second)
The settlement edge.
|
Modifier and Type | Method and Description |
---|---|
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 |
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 |
SettlementModel.calculateTotalNetFlow(Settlement c)
This calculates net flow for a city based on some operation cost for each person
(operationCost) subtracted from their flow and then
aggregated for all people in the entire settlement to give the total settlement flow.
|
void |
SettlementModel.clearFlow(Settlement c) |
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
|
Modifier and Type | Method and Description |
---|---|
static java.util.List |
Outputter.doOutput(Settlement c)
This method sets up the output to be done.
|
Modifier and Type | Method and Description |
---|---|
static org.geotools.feature.FeatureCollection |
SettlementOutputter.createCollection(java.util.List<Settlement> Citys,
org.opengis.feature.simple.SimpleFeatureType featureType)
Method to create a feature collection of structure objects
|
static void |
SettlementOutputter.writeShapefile(java.util.List<Settlement> poly,
java.lang.String category)
Method to write the shapefile output.
|
void |
SettlementOutputter.writeShapefileRepeat(java.util.List<Settlement> cities)
This calls the shapefile writer to create output.
|