Trait graphific::Algorithms [−][src]
An interface describing all the algorithms that can be used on any kind of graphs.
Provided methods
fn bfs(&self) -> Option<Self>
[src]
Execute a Broad Search First the return the discovered graph. There is no order in which the edges are treated.
fn bfs_with_starting_vertex(
&self,
starting_vertex: &Vertex<K, V>
) -> Option<Self>
[src]
&self,
starting_vertex: &Vertex<K, V>
) -> Option<Self>
Execute a Broad Search First with a starting vertex the return the discovered graph. There is no order in which the edges are treated.
fn dfs(&self) -> Option<Self>
[src]
Execute a Deep Search First the return the discovered graph. There is no order in which the edges are treated.
fn dfs_with_starting_vertex(
&self,
starting_vertex: &Vertex<K, V>
) -> Option<Self>
[src]
&self,
starting_vertex: &Vertex<K, V>
) -> Option<Self>
Execute a Deep Search First with a starting vertex the return the discovered graph. There is no order in which the edges are treated.
Implementors
impl<K, V> Algorithms<K, V> for BasicDirectedGraph<K, V> where
K: Key,
V: Value,
[src]
K: Key,
V: Value,
impl<K, V> Algorithms<K, V> for BasicUndirectedGraph<K, V> where
K: Key,
V: Value,
[src]
K: Key,
V: Value,