Function astar_search_digraph

Source
pub fn astar_search_digraph<N, E, Ix, H>(
    graph: &DiGraph<N, E, Ix>,
    start: &N,
    goal: &N,
    heuristic: H,
) -> Result<AStarResult<N, E>>
where N: Node + Clone + Hash + Eq, E: EdgeWeight + Clone + Add<Output = E> + Zero + PartialOrd + Copy, Ix: IndexType, H: Fn(&N) -> E,
Expand description

A* search for directed graphs