Skip to content

Commit e596ce2

Browse files
committed
The TreeType means the optimization criteria used for tree building
1 parent 571ebb0 commit e596ce2

1 file changed

Lines changed: 15 additions & 10 deletions

File tree

biojava-phylo/src/main/java/org/biojava/nbio/phylo/TreeType.java

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,22 +25,27 @@
2525
package 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
*/
3634
public 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
}

0 commit comments

Comments
 (0)