Function fast_paths::create_calculator

source ·
pub fn create_calculator(fast_graph: &FastGraph) -> PathCalculator
Expand description

Creates a PathCalculator that can be used to run many shortest path calculations in a row. This is the preferred way to calculate shortest paths in case you are calculating more than one path. Use one PathCalculator for each thread.