Skip to main content

bfs

Function bfs 

Source
pub fn bfs(
    graph: &CsrGraph,
    start: MemoryId,
    max_depth: usize,
) -> Vec<(MemoryId, usize)>
Expand description

Breadth-first search returning (node, depth) pairs.