public class SplitUtils
utilities for split systems
public static SplitSystem getSplits(TaxaList idGroup, Tree tree)
creates a split system from a tree (using a pre-specified order of sequences)
idGroup - sequence order for the matrixtree - public static SplitSystem getSplits(Tree tree)
creates a split system from a tree (using tree-induced order of sequences)
tree - public static void getSplit(TaxaList idGroup, Node internalNode, kotlin.Array[] split)
get split for branch associated with internal node
idGroup - order of labelsinternalNode - Nodesplit - public static boolean isSame(kotlin.Array[] s1,
kotlin.Array[] s2)
checks whether two splits are identical (assuming they are of the same length and use the same leaf order)
s1 - split 1s2 - split 2