Minimum-slack unused-column scan (argminCode) #
Internal O(n) subroutine computing hgArgmin for one Hungarian alternating-tree round.
Compute hgArgmin s into rj1 and its slack into rdelta.
theorem Cslib.Algorithms.WordRAM.Hungarian.exec_argminCode {w n bC M W : ℕ} {c : Fin n × Fin n → ℤ} {r : Fin n} {s : Lean.MaxFlow.HgState n} {bestRow : Fin n → Fin n} (hSI : Lean.MaxFlow.HgStepInv c W r s bestRow) (x : WordRAM.Data 28) (hb : BaseRegs n bC M x) (hSM : StepMem bC s bestRow x.mem) (hfit : WordRAM.Fits w (bC + n * n + 8 * n + 2 * W + 2)) :