Skip to main content

bfs_layers

Function bfs_layers 

Source
pub fn bfs_layers<G, I>(graph: G, sources: I) -> Vec<Vec<G::NodeId>>
where G: IntoEdges + Visitable, I: IntoIterator<Item = G::NodeId>, G::NodeId: Copy + Hash + Eq,