Function fast_paths::prepare_with_order

source ·
pub fn prepare_with_order(
    input_graph: &InputGraph,
    order: &[NodeId]
) -> Result<FastGraph, String>
Expand description

Prepares the given input graph using a fixed node ordering, which can be any permutation of the node ids. This can be used to speed up the graph preparation if you have done it for a similar graph with an equal number of nodes. For example if you have changed some of the edge weights only.