Skip to main content

random_spanning_tree_from_samples

Function random_spanning_tree_from_samples 

Source
pub fn random_spanning_tree_from_samples(
    graph: &Graph,
    weight_attr: Option<&str>,
    multiplicative: bool,
    shuffled_edges: &[(String, String)],
    random_values: &[f64],
) -> Result<Graph, RandomSpanningTreeError>
Expand description

Sample a random spanning tree using precomputed edge order and random draws.