|
PhyloSort | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectphylosort.TreeNodeComparator
public class TreeNodeComparator
A comparator between between two nodes in a tree.
| Constructor Summary | |
|---|---|
TreeNodeComparator()
|
|
| Method Summary | |
|---|---|
int |
compare(TreeNode t1,
TreeNode t2)
Compares between two subtrees based on their branch lengths. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Comparator |
|---|
equals |
| Constructor Detail |
|---|
public TreeNodeComparator()
| Method Detail |
|---|
public int compare(TreeNode t1,
TreeNode t2)
compare in interface java.util.Comparator<TreeNode>t1 - The first nodet2 - The second node
t1 = t2, 1 if t1
> t2, or -1 if t1 <
t2
|
PhyloSort | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||