Function fast_paths::create_calculator[][src]

pub fn create_calculator(fast_graph: &FastGraph) -> PathCalculator

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.