File tree Expand file tree Collapse file tree
biojava-phylo/src/main/java/org/biojava/nbio/phylo Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2525package org .biojava .nbio .phylo ;
2626
2727/**
28- * The TreeType specified the aligorithm used to construct the tree. Only suppo
29- * for one algorithm is implemented, that is why this Enum is not used. It can
30- * be used in the future as an interface to add more algorithm types.
28+ * The TreeType specifies the optimization criteria used to generate the tree.
3129 *
32- * @author willishf
3330 * @author Aleix Lafita
31+ * @since 4.1.1
3432 *
3533 */
3634public enum TreeType {
3735
38- /** Neighbor Joining Algorithm */
39- NJ ,
36+ /** Maximum Likelihood Tree */
37+ ML ( "ML-Tree" ) ,
4038
41- /** Unweighted Pair Group Method with Arithmetic Mean */
42- UPGMA ,
39+ /** Distance Tree */
40+ DISTANCE ( "Distance-Tree" ) ,
4341
44- /** What does this stand for? */
45- AV ;
42+ /** Parsimony Tree */
43+ PARSIMONY ("Parsimony-Tree" );
44+
45+ /** Description name of the Tree Type */
46+ protected final String name ;
47+
48+ private TreeType (String name ){
49+ this .name = name ;
50+ }
4651}
You can’t perform that action at this time.
0 commit comments