public class InFlowPopulation extends AbstractPopulation<InFlowParameters,BasicResults>
FORCE_MORT_INTERVAL
Constructor and Description |
---|
InFlowPopulation() |
Modifier and Type | Method and Description |
---|---|
protected static void |
calculateMeanAndEndPopulation(Matrix2D meanPopulation,
Matrix2D endPopulation,
Matrix2D migrants,
Matrix2D surviveProbO100,
Matrix2D p1,
Matrix2D p2,
int numberOfYears,
int maximumAge)
Calculates mean and end populations.
|
BasicResults |
calculatePopulation(String subPopName,
int generation,
InFlowParameters parameters)
Calculate population.
|
calculateByMult, calculateByMultMin1, calculateRestOfMeanPopulation, calculateSurvivalProbabilities, getFirstHalfyearSurvProb, getNumOfChilds, getSecondHalfyearSurvProb
public BasicResults calculatePopulation(String subPopName, int generation, InFlowParameters parameters)
AbstractPopulation
calculatePopulation
in class AbstractPopulation<InFlowParameters,BasicResults>
subPopName
- the sub-population namegeneration
- the generationparameters
- the parameters requires to population calculationprotected static void calculateMeanAndEndPopulation(Matrix2D meanPopulation, Matrix2D endPopulation, Matrix2D migrants, Matrix2D surviveProbO100, Matrix2D p1, Matrix2D p2, int numberOfYears, int maximumAge)
meanPopulation
- mean population (will be filled)endPopulation
- end population (will be filled)migrants
- the mirgantssurviveProbO100
- survival probability of the over-100-years-oldsp1
- the P_1 matrix (infant survival probability first half of first
year)p2
- the P_2 matrix (infant survival probability second half of first
year)numberOfYears
- number of years to be predictedmaximumAge
- the maximum age classCopyright © 2013. All Rights Reserved.