-
Notifications
You must be signed in to change notification settings - Fork 69
/
Options.java
233 lines (184 loc) · 4.65 KB
/
Options.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
package phylonet.coalescent;
public class Options {
private boolean rooted;
private boolean extrarooted;
private boolean exactSolution;
private boolean duploss;
private int alg;
private int addExtra;
private boolean outputCompletedGenes;
private boolean outputSearchSpace;
private boolean runSearch;
private int branchannotation;
private double lambda;
private String outputFile;
private int samplingrounds;
private int polylimit;
private String freqOutputPath;
//OLD parameters
private double DLbdWeigth;
private double CS;
private double CD;
private double trim;
private Integer minLeaves;
private Integer geneRepeat;
private boolean removeExtraTree;
public Options(boolean rooted, boolean extrarooted,
boolean exactSolution, boolean duploss, int alg, int addExtra,
boolean outputCompletedGenes, boolean outSearch, boolean run,
int branchannotation, double lambda, String outputFile, int samplingrounds, int polylimit,
double trim, String freqOutputPath, Integer minimumLeaves, Integer geneRepeat, boolean removeExtraTree) {
this.rooted = rooted;
this.extrarooted = extrarooted;
this.exactSolution = exactSolution;
this.duploss = duploss;
this.alg = alg;
this.addExtra = addExtra;
this.outputCompletedGenes = outputCompletedGenes;
this.outputSearchSpace = outSearch;
this.runSearch = run;
this.branchannotation = branchannotation;
this.setLambda(lambda);
this.setOutputFile(outputFile);
this.setSamplingrounds(samplingrounds);
this.setPolylimit(polylimit);
this.trim = trim;
this.freqOutputPath = freqOutputPath;
this.setMinLeaves(minimumLeaves);
this.setGeneRepeat(geneRepeat);
this.setRemoveExtraTree(removeExtraTree);
}
public boolean isRooted() {
return rooted;
}
public boolean isExtrarooted() {
return extrarooted;
}
public boolean isExactSolution() {
return exactSolution;
}
public boolean isDuploss() {
return duploss;
}
public double getTrim() {
return trim;
}
public void setTrim(double trim) {
this.trim = trim;
}
public int getAlg() {
return alg;
}
public int getAddExtra() {
return addExtra;
}
/*public void setAddExtra(int addExtra) {
this.addExtra = addExtra;
}
public void setAlg(int alg) {
this.alg = alg;
}
public void setDuploss(boolean duploss) {
this.duploss = duploss;
}
public void setExactSolution(boolean exactSolution) {
this.exactSolution = exactSolution;
}
public void setExtrarooted(boolean extrarooted) {
this.extrarooted = extrarooted;
}
public void setRooted(boolean rooted) {
this.rooted = rooted;
}
public void setOutputCompletedGenes(boolean outputCompletedGenes) {
this.outputCompletedGenes = outputCompletedGenes;
}
public void setOutputSearchSpace(boolean outSearch) {
this.outputSearchSpace = outSearch;
}
public void setRunSearch(boolean run) {
this.runSearch = run;
}
public void setBranchannotation(int branchannotation) {
this.branchannotation = branchannotation;
}
*/
public boolean isOutputCompletedGenes() {
return outputCompletedGenes;
}
public boolean isOutputSearchSpace() {
return outputSearchSpace;
}
public boolean isRunSearch() {
return runSearch;
}
public int getBranchannotation() {
return branchannotation;
}
public double getDLbdWeigth() {
return DLbdWeigth;
}
public double getCS() {
return CS;
}
public void setCS(double cS) {
CS = cS;
}
public void setDLbdWeigth(double dLbdWeigth) {
DLbdWeigth = dLbdWeigth;
}
public void setCD(double cD) {
CD = cD;
}
public double getCD() {
return CD;
}
public double getLambda() {
return lambda;
}
public void setLambda(double lambda) {
this.lambda = lambda;
}
public String getOutputFile() {
return outputFile;
}
public void setOutputFile(String outputFile) {
this.outputFile = outputFile;
}
public Integer getSamplingrounds() {
return samplingrounds;
}
public void setSamplingrounds(Integer samplingrounds) {
this.samplingrounds = samplingrounds;
}
public int getPolylimit() {
return polylimit;
}
public void setPolylimit(int polylimit) {
this.polylimit = polylimit;
}
public boolean isRemoveExtraTree() {
return removeExtraTree;
}
public void setRemoveExtraTree(boolean removeExtraTree) {
this.removeExtraTree = removeExtraTree;
}
public String getFreqOutputPath() {
return freqOutputPath;
}
public void setFreqOutputPath(String freqOutputPath) {
this.freqOutputPath = freqOutputPath;
}
public Integer getMinLeaves() {
return minLeaves;
}
public void setMinLeaves(Integer minLeaves) {
this.minLeaves = minLeaves;
}
public Integer getGeneRepeat() {
return geneRepeat;
}
public void setGeneRepeat(Integer geneRepeat) {
this.geneRepeat = geneRepeat;
}
}