public class SplitSystem
extends java.lang.Object
Constructor | Description |
---|---|
SplitSystem(IdGroup idGroup,
int size) |
Modifier and Type | Method | Description |
---|---|---|
IdGroup |
getIdGroup() |
get idGroup
|
int |
getLabelCount() |
get number of labels
|
boolean[] |
getSplit(int i) |
get split
|
int |
getSplitCount() |
get number of splits
|
boolean[][] |
getSplitVector() |
get split vector
|
boolean |
hasSplit(boolean[] split) |
+ test whether a split is contained in this split system
(assuming the same leaf order)
|
java.lang.String |
toString() |
print split system
|
public SplitSystem(IdGroup idGroup, int size)
idGroup
- sequence labelssize
- number of splitspublic int getSplitCount()
public int getLabelCount()
public boolean[][] getSplitVector()
public boolean[] getSplit(int i)
public IdGroup getIdGroup()
public boolean hasSplit(boolean[] split)
split
- splitpublic java.lang.String toString()
toString
in class java.lang.Object