Function find_largest_epsilon_cluster

Source
fn find_largest_epsilon_cluster(
    entity_reps: &[(u64, Vec<f32>)],
    epsilon: f32,
) -> Vec<u64>
Expand description

Find the largest cluster of entities where all pairs are within epsilon.

Uses a greedy approach: for each entity as seed, collect all within epsilon, then keep the largest set.