Skip to main content

minimum_degree_exact

Function minimum_degree_exact 

Source
pub fn minimum_degree_exact(a: &CsrMatrix) -> Vec<usize>
Expand description

The textbook minimum-degree ordering of the symmetric pattern of A + Aᵀ: repeatedly eliminate a vertex of least degree in the elimination graph, where eliminating a vertex joins all its neighbours into a clique (the fill it would create). Ties go to the lowest index. This is the textbook algorithm on an explicit graph with a lazily updated priority queue; AMD and MMD reach similar orderings faster with quotient graphs, supervariables and approximate degrees.