[][src]Function fast_paths::prepare_with_order

pub fn prepare_with_order(
    input_graph: &InputGraph,
    order: &Vec<NodeId>
) -> Result<FastGraph, String>

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.