Skip to main content

select_pivot_amf

Function select_pivot_amf 

Source
pub fn select_pivot_amf(ws: &mut Workspace) -> Option<usize>
Expand description

AMF analogue of select_pivot. Linear-scans coarse buckets (idx > n) for the entry with the smallest exact score; takes the head for fine buckets.

Side effects: ws.mindeg advances to the chosen bucket index. The chosen me is unlinked from its degree-list chain (head update for fine buckets, doubly-linked unlink for coarse buckets).

Reference: ana_orderings.F:4392-4427.