Skip to main content

order

Function order 

Source
pub fn order(nodes: u32, edges: &[(u32, u32)]) -> Vec<u32>
Expand description

Number the nodes by recursive bisection, with the defaults.

Returns the new id of every old id, so out[old] is new, which is the same shape order_by_degree hands back and takes the same renumber to apply.