1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package p3j.experiment.results;
17
18 import p3j.misc.math.Matrix2D;
19
20
21
22
23
24
25
26
27
28
29
30
31
32 public class BasicResults {
33
34
35 private int id;
36
37
38
39
40
41 private Matrix2D endXm;
42
43
44
45
46
47 private Matrix2D endXf;
48
49
50 private Matrix2D meanXm;
51
52
53
54
55 private Matrix2D meanXf;
56
57
58
59
60
61 private Matrix2D p1m;
62
63
64
65
66
67 private Matrix2D p1f;
68
69
70
71
72
73 private Matrix2D p2m;
74
75
76
77
78
79 private Matrix2D p2f;
80
81
82
83
84
85
86
87
88
89 public BasicResults(int numOfYears, int maxAge) {
90
91 this.endXm = new Matrix2D(maxAge + 1, numOfYears);
92 this.endXf = new Matrix2D(maxAge + 1, numOfYears);
93 this.meanXm = new Matrix2D(maxAge + 1, numOfYears);
94 this.meanXf = new Matrix2D(maxAge + 1, numOfYears);
95
96 this.p1m = new Matrix2D(maxAge, numOfYears);
97 this.p1f = new Matrix2D(maxAge, numOfYears);
98 this.p2m = new Matrix2D(maxAge, numOfYears);
99 this.p2f = new Matrix2D(maxAge, numOfYears);
100
101 }
102
103
104
105
106 public BasicResults() {
107 }
108
109 public Matrix2D getEndXm() {
110 return endXm;
111 }
112
113 public void setEndXm(Matrix2D endXm) {
114 this.endXm = endXm;
115 }
116
117 public Matrix2D getEndXf() {
118 return endXf;
119 }
120
121 public void setEndXf(Matrix2D endXf) {
122 this.endXf = endXf;
123 }
124
125 public Matrix2D getMeanXm() {
126 return meanXm;
127 }
128
129 public void setMeanXm(Matrix2D meanXm) {
130 this.meanXm = meanXm;
131 }
132
133 public Matrix2D getMeanXf() {
134 return meanXf;
135 }
136
137 public void setMeanXf(Matrix2D meanXf) {
138 this.meanXf = meanXf;
139 }
140
141 public Matrix2D getP1m() {
142 return p1m;
143 }
144
145 public void setP1m(Matrix2D p1m) {
146 this.p1m = p1m;
147 }
148
149 public Matrix2D getP1f() {
150 return p1f;
151 }
152
153 public void setP1f(Matrix2D p1f) {
154 this.p1f = p1f;
155 }
156
157 public Matrix2D getP2m() {
158 return p2m;
159 }
160
161 public void setP2m(Matrix2D p2m) {
162 this.p2m = p2m;
163 }
164
165 public Matrix2D getP2f() {
166 return p2f;
167 }
168
169 public void setP2f(Matrix2D p2f) {
170 this.p2f = p2f;
171 }
172
173 public int getID() {
174 return id;
175 }
176
177 public void setID(int id) {
178 this.id = id;
179 }
180
181 }