p3j.simulation.calculation.deterministic
Class MigChildPopulation
java.lang.Object
p3j.simulation.calculation.deterministic.AbstractPopulation<MigChildParameters,BasicResults>
p3j.simulation.calculation.deterministic.MigChildPopulation
public class MigChildPopulation
- extends AbstractPopulation<MigChildParameters,BasicResults>
Calculation of the population containing children of migrants. One function
does not conform to ESCA-JAVA0138 (9 parameters are required for
calculation).
Created on July 22, 2006
- Author:
- Christina Bohk, Roland Ewald
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MigChildPopulation
public MigChildPopulation()
calculatePopulation
public BasicResults calculatePopulation(MigChildParameters parameters)
- Description copied from class:
AbstractPopulation
- Calculate population.
- Specified by:
calculatePopulation
in class AbstractPopulation<MigChildParameters,BasicResults>
- Parameters:
parameters
- the parameters requires to population calculation
- Returns:
- results the results of the calculation
calculateMeanAndEndPopulation
protected static void calculateMeanAndEndPopulation(Matrix2D oldMeanXf,
Matrix2D oldFertX,
Matrix2D propLiveBirth,
Matrix2D meanPopulation,
Matrix2D endPopulation,
Matrix2D surviveProbO100,
Matrix2D p1,
Matrix2D p2,
int numberOfYears,
int maximumAge)
- Calculates mean and end populations.
- Parameters:
oldMeanXf
- old mean population of femalesoldFertX
- old fertilitypropLiveBirth
- proportion of live birth of this sexmeanPopulation
- mean population (filled by this method)endPopulation
- end population (filled by this method)surviveProbO100
- survival probability of the over-100-years-oldsp1
- P_1 matrix (infant survival probability first 6 months)p2
- P_2 matrix (infant survival probability second half year)numberOfYears
- number of years to be predictedmaximumAge
- the maximum age
Copyright © 2012. All Rights Reserved.