Skip to main content

compute_sf

Function compute_sf 

Source
pub fn compute_sf<'a>(
    all_links: &'a [Link],
    all_stops: &HashSet<String>,
    destination: &str,
    od_matrix: &HashMap<String, HashMap<String, f64>>,
) -> SFResult<'a>
Expand description

compute_sf computes the Spiess-Florian algorithm