Skip to main content

cutpoints

Function cutpoints 

Source
pub fn cutpoints(
    basename: &Path,
    num_nodes: usize,
    num_arcs: Option<u64>,
    use_dcf: bool,
    num_parts: usize,
) -> Result<Vec<usize>>
Expand description

Computes cutpoints for splitting a graph into num_parts chunks for parallel compression.

If use_dcf is true, loads the DCF file for the given basename and uses dcf_cutpoints to balance by arc count. Otherwise, falls back to uniform_cutpoints by node count.