Skip to main content

group

Function group 

Source
pub fn group(
    units: &[GroupingUnit],
    edges: &[SimilarityEdge],
    config: &GroupingConfig,
) -> GroupingSet
Expand description

Group verified pairs into cohesive clone groups.

The result is a pure function of the inputs: neither the edge order nor the unit order (beyond what the indices name) changes the groups or their order.