[][src]Struct rs_graph::search::biastar::BiAStar

pub struct BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Aout: Adjacencies<'a>,
    Ain: Adjacencies<'a, Node = Aout::Node, Edge = Aout::Edge>,
    M: ItemMap<Direction<Aout::Node>, Either<P::Item, D>>,
    P: ItemPriQueue<Direction<Aout::Node>, BiData<Aout::Edge, D, H::Result>>,
    D: Copy,
    W: Fn(Aout::Edge) -> D,
    H: Heuristic<Aout::Node>,
    H::Result: Copy
{ /* fields omitted */ }

Iterator for visiting edges in A*-order.

Trait Implementations

impl<'a, Aout, Ain, D, W, M, P, H> Iterator for BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Aout: Adjacencies<'a>,
    Ain: Adjacencies<'a, Node = Aout::Node, Edge = Aout::Edge>,
    D: Copy + PartialOrd + Add<D, Output = D> + Sub<D, Output = D> + Zero,
    W: Fn(Aout::Edge) -> D,
    M: ItemMap<Direction<Aout::Node>, Either<P::Item, D>>,
    P: ItemPriQueue<Direction<Aout::Node>, BiData<Aout::Edge, D, H::Result>>,
    H: Heuristic<Aout::Node>,
    H::Result: Add<D, Output = D> + Add<H::Result, Output = H::Result> + Neg<Output = H::Result>, 
[src]

type Item = (Aout::Node, Direction<Aout::Edge>, D)

The type of the elements being iterated over.

Auto Trait Implementations

impl<'a, Aout, Ain, D, W, M, P, H> RefUnwindSafe for BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Ain: RefUnwindSafe,
    Aout: RefUnwindSafe,
    D: RefUnwindSafe,
    H: RefUnwindSafe,
    M: RefUnwindSafe,
    P: RefUnwindSafe,
    W: RefUnwindSafe,
    <Aout as GraphType<'a>>::Edge: RefUnwindSafe,
    <Aout as GraphType<'a>>::Node: RefUnwindSafe

impl<'a, Aout, Ain, D, W, M, P, H> Send for BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Ain: Send,
    Aout: Send,
    D: Send,
    H: Send,
    M: Send,
    P: Send,
    W: Send,
    <Aout as GraphType<'a>>::Edge: Send,
    <Aout as GraphType<'a>>::Node: Send

impl<'a, Aout, Ain, D, W, M, P, H> Sync for BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Ain: Sync,
    Aout: Sync,
    D: Sync,
    H: Sync,
    M: Sync,
    P: Sync,
    W: Sync,
    <Aout as GraphType<'a>>::Edge: Sync,
    <Aout as GraphType<'a>>::Node: Sync

impl<'a, Aout, Ain, D, W, M, P, H> Unpin for BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Ain: Unpin,
    Aout: Unpin,
    D: Unpin,
    H: Unpin,
    M: Unpin,
    P: Unpin,
    W: Unpin,
    <Aout as GraphType<'a>>::Edge: Unpin,
    <Aout as GraphType<'a>>::Node: Unpin

impl<'a, Aout, Ain, D, W, M, P, H> UnwindSafe for BiAStar<'a, Aout, Ain, D, W, M, P, H> where
    Ain: UnwindSafe,
    Aout: UnwindSafe,
    D: UnwindSafe,
    H: UnwindSafe,
    M: UnwindSafe,
    P: UnwindSafe,
    W: UnwindSafe,
    <Aout as GraphType<'a>>::Edge: UnwindSafe,
    <Aout as GraphType<'a>>::Node: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.