Function differential_dataflow::algorithms::graphs::bfs::bfs
source ยท pub fn bfs<G, N>(
edges: &Collection<G, (N, N)>,
roots: &Collection<G, N>,
) -> Collection<G, (N, u32)>
Expand description
Returns pairs (node, dist) indicating distance of each node from a root.