p3j.simulation.calculation.deterministic
Class MigPopulation
java.lang.Object
p3j.simulation.calculation.deterministic.AbstractPopulation<MigParameters,BasicResults>
p3j.simulation.calculation.deterministic.MigPopulation
public class MigPopulation
- extends AbstractPopulation<MigParameters,BasicResults>
Calculation regarding the population of migrants. One method has seven
parameters and therefore does not confirm to ESCA-JAVA0138.
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 |
MigPopulation
public MigPopulation()
calculatePopulation
public BasicResults calculatePopulation(MigParameters parameters)
- Description copied from class:
AbstractPopulation
- Calculate population.
- Specified by:
calculatePopulation
in class AbstractPopulation<MigParameters,BasicResults>
- Parameters:
parameters
- the parameters requires to population calculation
- Returns:
- results the results of the calculation
calculateMeanAndEndPopulation
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.
- Parameters:
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 class
Copyright © 2012. All Rights Reserved.