|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjebl.evolution.trees.SplitSystem
public class SplitSystem
data structure for a set of splits
| Constructor Summary | |
|---|---|
SplitSystem(Collection<Taxon> taxa,
int size)
|
|
| Method Summary | |
|---|---|
int |
getLabelCount()
get number of labels |
boolean[] |
getSplit(int i)
get split |
int |
getSplitCount()
get number of splits |
boolean[][] |
getSplitVector()
get split vector |
List<Taxon> |
getTaxa()
get taxon list |
boolean |
hasSplit(boolean[] split)
+ test whether a split is contained in this split system (assuming the same leaf order) |
String |
toString()
print split system |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SplitSystem(Collection<Taxon> taxa,
int size)
taxa - the list of taxasize - number of splits| Method Detail |
|---|
public int getSplitCount()
public int getLabelCount()
public boolean[][] getSplitVector()
public boolean[] getSplit(int i)
public List<Taxon> getTaxa()
public boolean hasSplit(boolean[] split)
split - splitpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||