pub fn layered_operations<K: ArrayKind, O, A>(
f: &OpenHypergraph<K, O, A>,
) -> (Vec<K::Index>, K::Index)Expand description
Given an OpenHypergraph, compute a layering of its operations as a finite function X → L,
then return this as an array-of-arrays r.
§Returns
- A
Vecof arraysr, wherer[i]is the array of operations in layeri. - An array of unvisited nodes, as in
layer