|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--pop.model.PopulationCharacteristics | +--pop.model.Fertility
Age-specific fertility rates, including the proportion of births that are females.
Constructor Summary | |
Fertility(double[] rates,
double proportion_female)
Basic constructor (one set of fertility rates, and a female-birth proportion). |
Method Summary | |
int |
maximum_fertile_age()
Returns maximum fertile age. |
int |
minimum_fertile_age()
Returns minimum fertile age. |
double |
proportion_female_births()
Returns proportion of total births resulting in female children. |
double |
rate(int age)
Returns age-specific fertility rate. |
double[] |
rates()
Returns age-array of fertility rates. |
void |
set_proportion_female_births(double value)
Sets proportion of births that are females to parameter value. |
void |
set_rates(double[] rates)
Sets all fertility rates to values of input array. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
Constructor Detail |
public Fertility(double[] rates, double proportion_female)
rates
- - array of fertility rates by age.proportion_female
- - proportion of births that will
be females (0 to 1).Method Detail |
public double rate(int age)
age
- - 0 to maximum cohort age.public double[] rates()
public double proportion_female_births()
public int minimum_fertile_age()
public int maximum_fertile_age()
public void set_rates(double[] rates)
rates
- - array of fertility rates by age.public void set_proportion_female_births(double value)
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |