pub fn bfs_arranged<G, N, Tr>(
edges: &Arranged<G, Tr>,
roots: &Collection<G, N>,
) -> Collection<G, (N, u32)>
Expand description
Returns pairs (node, dist) indicating distance of each node from a root.
pub fn bfs_arranged<G, N, Tr>(
edges: &Arranged<G, Tr>,
roots: &Collection<G, N>,
) -> Collection<G, (N, u32)>
Returns pairs (node, dist) indicating distance of each node from a root.