Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added getDontHireSubchoice for filtering of subchoice menus; applied to
newly added OtherTreeSearch
- Loading branch information
Showing
6 changed files
with
158 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,11 @@ | ||
#Tue Mar 25 11:19:04 PDT 2008 | ||
eclipse.preferences.version=1 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=disabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.2 | ||
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled | ||
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5 | ||
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve | ||
org.eclipse.jdt.core.compiler.compliance=1.4 | ||
org.eclipse.jdt.core.compiler.compliance=1.5 | ||
org.eclipse.jdt.core.compiler.debug.lineNumber=generate | ||
org.eclipse.jdt.core.compiler.debug.localVariable=generate | ||
org.eclipse.jdt.core.compiler.debug.sourceFile=generate | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=warning | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=warning | ||
org.eclipse.jdt.core.compiler.source=1.3 | ||
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error | ||
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error | ||
org.eclipse.jdt.core.compiler.source=1.5 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 44 additions & 0 deletions
44
Source/mesquite/search/OtherTreeSearch/OtherTreeSearch.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
/* 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; | ||
} | ||
|
||
} | ||
|