View Javadoc

1   /*
2    * Copyright 2006 - 2012 Christina Bohk and Roland Ewald
3    *  
4    * Licensed under the Apache License, Version 2.0 (the "License"); 
5    * you may not use this file except in compliance with the License. 
6    * You may obtain a copy of the License at 
7    *  
8    *  http://www.apache.org/licenses/LICENSE-2.0
9    *  
10   * Unless required by applicable law or agreed to in writing, software
11   * distributed under the License is distributed on an "AS IS" BASIS,
12   * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 
13   * See the License for the specific language governing permissions and 
14   * limitations under the License. 
15   */
16  package p3j.simulation.calculation.deterministic.parameters;
17  
18  import p3j.misc.math.Matrix2D;
19  import p3j.pppm.PPPModelFactory;
20  import p3j.simulation.calculation.deterministic.Constants;
21  
22  /**
23   * 
24   * Parameters for calculating jump-off sub-populations.
25   * 
26   * Created on July 09, 2006
27   * 
28   * @author Christina Bohk
29   * @author Roland Ewald
30   * 
31   */
32  public class JumpOffParameters extends BasicParameters {
33  
34    /** Age-specific male population at the end of the start year. */
35    private Matrix2D pEndSYm;
36  
37    /** Age-specific female population at the end of the start year. */
38    private Matrix2D pEndSYf;
39  
40    /**
41     * Default constructor.
42     * 
43     * @param numOfYears
44     *          number of years to be projected
45     * @param maximumAge
46     *          the maximum age to be considered
47     */
48    public JumpOffParameters(int numOfYears, int maximumAge) {
49      super(numOfYears, maximumAge);
50    }
51  
52    /**
53     * Constructor for bean compliance. Do NOT use manually.
54     */
55    public JumpOffParameters() {
56      super(PPPModelFactory.DEFAULT_YEARS, Constants.DEFAULT_MAXIMUM_AGE);
57    }
58  
59    public Matrix2D getPEndSYm() {
60      return pEndSYm;
61    }
62  
63    public void setPEndSYm(Matrix2D endSYm) {
64      pEndSYm = endSYm;
65    }
66  
67    public Matrix2D getPEndSYf() {
68      return pEndSYf;
69    }
70  
71    public void setPEndSYf(Matrix2D endSYf) {
72      pEndSYf = endSYf;
73    }
74  
75  }