pub trait BestFirstVisitor<N, T, BV> {
    type Result;
    fn visit(
        &mut self,
        best_cost_so_far: N,
        bv: &BV,
        value: Option<&T>
    ) -> BestFirstVisitStatus<N, Self::Result>; }
Expand description

Trait implemented by cost functions used by the best-first search on a BVT.

Associated Types

The result of a best-first traversal.

Required methods

Compute the next action to be taken by the best-first-search after visiting a node containing the given bounding volume.

Implementors