|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Household | |
---|---|
org.cfpm.caves.za |
Uses of Household in org.cfpm.caves.za |
---|
Fields in org.cfpm.caves.za declared as Household | |
---|---|
(package private) Household |
Person.household
|
Fields in org.cfpm.caves.za with type parameters of type Household | |
---|---|
(package private) java.util.ArrayList<Household> |
SouthAfricaModel.householdList
list of households |
(package private) java.util.ArrayList<Household> |
Church.members
the list of households who are members of this church |
(package private) java.util.HashMap<java.lang.String,Household> |
SouthAfricaModel.nameHouseholdMap
data structure to map names to Household objects, helpful for the interface with Jess |
Methods in org.cfpm.caves.za that return Household | |
---|---|
private Household |
SouthAfricaModel.findHouseholdOf(NetworkNode node)
returns the household to a given network node |
Household |
Person.getHousehold()
returns this agent's household |
Methods in org.cfpm.caves.za that return types with arguments of type Household | |
---|---|
private java.util.ArrayList<Household> |
SouthAfricaModel.findRelatedHouseholds(Household hh,
java.util.ArrayList<Household> hhList)
helper function for createBurialSocieties() |
Methods in org.cfpm.caves.za with parameters of type Household | |
---|---|
void |
Church.addHousehold(Household h)
Add the household to the ArrayList members<\code> and
replace the memberIDs array of |
private void |
SouthAfricaModel.createFamilyLinks(Household hh,
Person[] members,
int[] memberType)
helper function for populateHouseholds() |
private void |
SouthAfricaModel.createFamilyLinks(Person baby,
Person mother,
Household household)
creates family links between new person and members of the household |
private Person |
SouthAfricaModel.createHouseholdMember(java.lang.String name,
Household hhold)
Creates a new member for the given household. |
void |
SouthAfricaModel.endorseKin(Household hh1,
Household hh2)
Assert kinship endorsements in Jess between the members of the given households. |
private java.util.ArrayList<Household> |
SouthAfricaModel.findRelatedHouseholds(Household hh,
java.util.ArrayList<Household> hhList)
helper function for createBurialSocieties() |
(package private) boolean |
Household.isKinOf(Household hh)
checks if the given household is related to this household, i.e. if there is a kinhip link between the two households. |
private void |
SouthAfricaModel.populateHousehold(int numMembers,
Household hh,
cern.jet.random.Normal hhHeadAgeDist,
cern.jet.random.Normal ageDiffDist,
cern.jet.random.Gamma ageDist,
SouthAfricaModel.EmpiricalDiscreteDist femaleStatusDist,
SouthAfricaModel.EmpiricalDiscreteDist maleStatusDist,
SouthAfricaModel.EmpiricalDiscreteDist memberTypeDist)
Initialisation related: create household members according to empirical data (RADAR) |
void |
SouthAfricaModel.removeHousehold(Household hh)
Removes the given dissolved household from the model |
void |
Church.removeHousehold(Household h)
removes the ghiven household from the list of members |
private void |
SouthAfricaModel.removeLinks(Household hh)
helper method for removeHousehold(): removes the links of the given dissolved household |
void |
Person.setHousehold(Household household)
sets this agent's household. |
Method parameters in org.cfpm.caves.za with type arguments of type Household | |
---|---|
private java.util.ArrayList<Household> |
SouthAfricaModel.findRelatedHouseholds(Household hh,
java.util.ArrayList<Household> hhList)
helper function for createBurialSocieties() |
private void |
SouthAfricaModel.pickFriends(java.util.ArrayList<Person> members,
int maxNum,
java.util.ArrayList<Household> village)
helper function for createBurialSocieties() |
private void |
SouthAfricaModel.pickRelatives(java.util.ArrayList<Household> related,
int n,
java.util.ArrayList<Person> members)
helper function for createBurialSocieties() |
Constructors in org.cfpm.caves.za with parameters of type Household | |
---|---|
Person(java.lang.String nameString,
Household hhold,
SouthAfricaModel model)
Creates a new person with the given name |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |