[−][src]Trait cjdns_snode::pathsearch::graph::GraphSolver
Path finding functions.
Required methods
fn path(&self, from: &T, to: &T) -> Vec<T>
Find a path from from
node to to
node.
fn reverse_path(&self, from: &T, to: &T) -> Vec<T>
Find a reverse path from to
node to from
node.
fn path_search_tree(&self, start: &T) -> PathSearchTree<T>
Build a Path Search Tree from a given node.
Implementors
impl<T, W> GraphSolver<T, W> for Dijkstra<T, W> where
T: Clone + Eq + Ord + Hash,
W: Clone + PartialEq + PartialOrd + IntoOrd + Add<Output = W> + Zero,
[src]
T: Clone + Eq + Ord + Hash,
W: Clone + PartialEq + PartialOrd + IntoOrd + Add<Output = W> + Zero,