Skip to main content

bfs

Function bfs 

Source
pub fn bfs(g: &Adjacency, s: usize) -> Vec<usize>
Expand description

BFS order from s over the directed out view (nodes in the order first visited). Includes s first.