Skip to main content

astar

Function astar 

Source
pub fn astar<N, E, H>(
    graph: &Graph<N, E>,
    start: NodeId,
    end: NodeId,
    heuristic: H,
) -> Option<Path>
where H: Fn(NodeId) -> f32,
Expand description

A* shortest path with a heuristic function.