| 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.evolution.trees.SplitUtils
public class SplitUtils
utilities for split systems
| Constructor Summary | |
|---|---|
SplitUtils()
 | 
|
| Method Summary | |
|---|---|
static void | 
getSplit(List<Taxon> taxa,
         Tree tree,
         Edge edge,
         boolean[] split)
get split for branch associated with internal node  | 
static SplitSystem | 
getSplits(List<Taxon> taxa,
          Tree tree)
creates a split system from a tree (using a pre-specified order of sequences)  | 
static SplitSystem | 
getSplits(Tree tree)
creates a split system from a tree (using tree-induced order of sequences)  | 
static boolean | 
isSame(boolean[] s1,
       boolean[] s2)
checks whether two splits are identical (assuming they are of the same length and use the same leaf order)  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SplitUtils()
| Method Detail | 
|---|
public static SplitSystem getSplits(Tree tree)
tree - 
public static SplitSystem getSplits(List<Taxon> taxa,
                                    Tree tree)
taxa - the list of taxa (order is important)tree - 
public static void getSplit(List<Taxon> taxa,
                            Tree tree,
                            Edge edge,
                            boolean[] split)
taxa - order of labelstree - Treeedge - Edgeboolean[] - split
public static boolean isSame(boolean[] s1,
                             boolean[] s2)
s1 - split 1s2 - split 2
  | 
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||