Struct astar::ReuseSearchInstance [-] [+] [src]

pub struct ReuseSearchInstance<'a, RSP: 'a + ?Sized, S> {
    // some fields omitted
}

Trait Implementations

impl<'a, RSP: ReusableSearchProblem> SearchProblem for ReuseSearchInstance<'a, RSP, RSP>

type Node = RSP

type Cost = RSP

type Iter = RSP

fn start(&self) -> Self::Node

fn is_end(&self, other: &Self::Node) -> bool

fn heuristic(&self, a: &Self::Node) -> Self::Cost

fn neighbors(&mut self, node: &Self::Node) -> Self::Iter

fn estimate_length(&self) -> Option<u32>