Function graph::wcc::wcc_baseline

source ·
pub fn wcc_baseline<NI, G>(graph: &G, config: WccConfig) -> impl Components<NI>where
    NI: Idx,
    G: Graph<NI> + DirectedNeighbors<NI> + Sync,
Expand description

Computes Wcc by iterating all relationships in parallel and linking source and target nodes using a disjoint set struct.