classix.merging

Functions

cal_inter_density(starting_point, spo, ...)

Calculate the density of intersection (lens)

cal_inter_volume(starting_point, spo, radius)

Returns the volume of the intersection of two spheres in n-dimensional space.

check_if_overlap(starting_point, spo, radius)

Check if two groups formed by aggregation overlap

fast_agglomerate(data, splist, radius[, ...])

Implement CLASSIX's merging with disjoint-set data structure, default choice for the merging.

fast_query(data, starting_point, sort_vals, tol)

Fast query with built in early stopping strategy for merging.

findParent(s)

Find parent of node.

merge(s1, s2)

Merge the roots of two node.

Classes

SET(data)

Disjoint-set data structure.