Skip to content

Commit 94835bc

Browse files
committed
Create TreeConstructorType (replace TreeType)
1 parent e596ce2 commit 94835bc

1 file changed

Lines changed: 46 additions & 0 deletions

File tree

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
/*
2+
* BioJava development code
3+
*
4+
* This code may be freely distributed and modified under the
5+
* terms of the GNU Lesser General Public Licence. This should
6+
* be distributed with the code. If you do not have a copy,
7+
* see:
8+
*
9+
* http://www.gnu.org/copyleft/lesser.html
10+
*
11+
* Copyright for this code is held jointly by the individual
12+
* authors. These should be listed in @author doc comments.
13+
*
14+
* For more information on the BioJava project and its aims,
15+
* or to join the biojava-l mailing list, visit the home page
16+
* at:
17+
*
18+
* http://www.biojava.org/
19+
*
20+
*/
21+
/*
22+
* To change this template, choose Tools | Templates
23+
* and open the template in the editor.
24+
*/
25+
package org.biojava.nbio.phylo;
26+
27+
/**
28+
* The TreeConstructorType specifies the aligorithm used to construct the tree
29+
* (clustering algorithm). Only support for the NJ algorithm (from forester) is
30+
* currently implemented.
31+
*
32+
* @author Aleix Lafita
33+
* @since 4.1.1
34+
*
35+
*/
36+
public enum TreeConstructorType {
37+
38+
/** Neighbor Joining Algorithm */
39+
NJ,
40+
41+
/** Unweighted Pair-Group Method with Arithmetic mean */
42+
UPGMA,
43+
44+
/** What does this stand for? (Aleix: Nov 2015) */
45+
AV;
46+
}

0 commit comments

Comments
 (0)