|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuaa.feral.social.demographics.DemographicFunctions
public class DemographicFunctions
Class for conducting basic demographic functions for a person (e.g. birth, death, etc.)
Constructor Summary | |
---|---|
DemographicFunctions()
|
|
DemographicFunctions(Community community,
double fertilityRate,
double migrationRate)
Main constructor used for creating demographic behaviors |
Method Summary | |
---|---|
void |
demographicSteps()
Method called that launches the demographic methods |
Community |
getCommunity()
|
double |
getFertilityRate()
|
double |
getMigrationRate()
|
StandardDemographicTable |
getTable()
|
int |
getTargetSize()
|
void |
managePopulationSize()
Method created to artificially manage a population's size |
void |
setCommunity(Community community)
|
void |
setFertilityRate(double fertilityRate)
|
void |
setGis(repast.simphony.visualization.gis3D.DisplayGIS3D gis)
|
void |
setMigrationRate(double migrationRate)
|
void |
setTable(StandardDemographicTable table)
|
void |
setTargetSize(int targetSize)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DemographicFunctions()
public DemographicFunctions(Community community, double fertilityRate, double migrationRate)
community
- the community that will have its demographics evolvefertilityRate
- a given fertility rate for a communitymigrationRate
- a migration (immigration/emigration) rate for the communityMethod Detail |
---|
public void demographicSteps()
public void managePopulationSize()
public StandardDemographicTable getTable()
public void setTable(StandardDemographicTable table)
public double getFertilityRate()
public void setFertilityRate(double fertilityRate)
public double getMigrationRate()
public void setMigrationRate(double migrationRate)
public Community getCommunity()
public void setCommunity(Community community)
public int getTargetSize()
public void setTargetSize(int targetSize)
public void setGis(repast.simphony.visualization.gis3D.DisplayGIS3D gis)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |