|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Village | |
---|---|
org.cfpm.caves.za |
Uses of Village in org.cfpm.caves.za |
---|
Fields in org.cfpm.caves.za with type parameters of type Village | |
---|---|
(package private) java.util.HashMap<java.lang.String,Village> |
SouthAfricaModel.nameVillageMap
data structure to map names to Village objects, helpful for the interface with Jess |
Methods in org.cfpm.caves.za that return Village | |
---|---|
private Village |
SouthAfricaModel.createVillage(java.lang.String name,
int numHouseholds,
java.util.ArrayList<Village> villages)
Initialisation related: creates a village for the given number of households and positions it in space. |
Methods in org.cfpm.caves.za with parameters of type Village | |
---|---|
private void |
SouthAfricaModel.populateVillage(Village village,
int startIndex,
int endIndex)
Initialisation related: position households in space, or to be more precise, position them randomly inside the area the village takes up. |
Method parameters in org.cfpm.caves.za with type arguments of type Village | |
---|---|
private Village |
SouthAfricaModel.createVillage(java.lang.String name,
int numHouseholds,
java.util.ArrayList<Village> villages)
Initialisation related: creates a village for the given number of households and positions it in space. |
private int[] |
SouthAfricaModel.determineVillageLocation(int radius,
java.util.ArrayList<Village> villages)
helper method for createVillage() |
private boolean |
SouthAfricaModel.overlapping(int[] centre,
int radius,
java.util.ArrayList<Village> villages)
helper method for createVillage() |
Constructors in org.cfpm.caves.za with parameters of type Village | |
---|---|
Household(SouthAfricaModel model,
java.lang.String id,
jess.Value church,
Village village)
Create a new household for a newly-wed couple during the simulation |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |