This is a C++ function, used in TINNIKdist
, to
infer B and T quartets. Doucumentation if for internal use only.
BQinference(pTable, C, Cn4, n, Bquartets, L1, lenL1, Nrule1, Nrule2, cuttops)
a 0/1 vector indicating which sets of 4-taxa are B-quartets
a quartet table with p-values
precomputed binomial coefficients
precomputed binomial coefficient
number of taxa
0/1 vector of initial Bquartets
vector of recently inferred B quartets
lnegth of L1
count of inference from rule 1
count of inference from rule 2
inferred cut topologies
quartetTable
, quartetTableParallel