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; 17 18 /** 19 * Container for some basic constants. 20 * 21 * Created on July 16, 2006 22 * 23 * @author Christina Bohk 24 * @author Roland Ewald 25 * 26 */ 27 public final class Constants { 28 29 /** 30 * This class should not be instantiated. 31 */ 32 private Constants() { 33 } 34 35 /** 36 * Default maximum age that can be reached (all people older are not 37 * distinguished by their age anymore). 38 */ 39 public static final short DEFAULT_MAXIMUM_AGE = 100; 40 41 /** 42 * The baseline amount of persons in the mortality matrices. Can be set 43 * arbitrarily in principle, since the simulator uses relative values (i.e. 44 * estimates for probabilities). 45 */ 46 public static final int BASELINE_AMOUNT_MORT_MATRICES = 100000; 47 48 /** 49 * Beginning of the fertility ages. 50 */ 51 public static final short FERT_AGE_BEGIN = 0; 52 53 /** 54 * End of the fertility ages. 55 */ 56 public static final short FERT_AGE_END = 50; 57 58 /** 59 * Default number of generations to be considered. 60 */ 61 public static final byte DEFAULT_NUM_GENERATIONS = 7; 62 63 /** 64 * Default number of years to be predicted. 65 */ 66 public static final short DEFAULT_NUM_YEARS = 100; 67 }