/
OtherTreeSearch.java
44 lines (36 loc) · 1.83 KB
/
OtherTreeSearch.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
/* Mesquite source code. Copyright 1997 and onward, W. Maddison and D. Maddison.
Disclaimer: The Mesquite source code is lengthy and we are few. There are no doubt inefficiencies and goofs in this code.
The commenting leaves much to be desired. Please approach this source code with the spirit of helping out.
Perhaps with your help we can be more than a few, and make Mesquite better.
Mesquite is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY.
Mesquite's web site is http://mesquiteproject.org
This source code and its compiled class files are free and modifiable under the terms of
GNU Lesser General Public License. (http://www.gnu.org/copyleft/lesser.html)
*/
package mesquite.search.OtherTreeSearch;
/*~~ */
import mesquite.lib.*;
import mesquite.lib.duties.TreeSearcher;
import mesquite.search.lib.*;
/* ======================================================================== */
public class OtherTreeSearch extends TreeSearch {
public String getName() {
return "Other Tree Inference";
}
public String getExplanation() {
return "Supplies trees resulting from other criteria.";
}
/*.................................................................................................................*/
public Class getHireSubchoice(){
return TreeSearcher.class;
}
/*.................................................................................................................*/
public Class[] getDontHireSubchoice(){
return new Class[]{LikelihoodAnalysis.class, DistanceAnalysis.class, ParsimonyAnalysis.class, BayesianAnalysis.class};
}
/*.................................................................................................................*/
/** returns whether this module is requesting to appear as a primary choice */
public boolean requestPrimaryChoice(){
return false;
}
}