Skip to main content

bfs_arranged

Function bfs_arranged 

Source
pub fn bfs_arranged<'scope, N, Tr>(
    edges: Arranged<'scope, Tr>,
    roots: VecCollection<'scope, Tr::Time, N>,
) -> VecCollection<'scope, Tr::Time, (N, u32)>
where N: ExchangeData + Hash, Tr: for<'a> TraceReader<Key<'a> = &'a N, Val<'a> = &'a N, Diff = isize> + Clone + 'static,
Expand description

Returns pairs (node, dist) indicating distance of each node from a root.