Fin.greedyPerm
Library · def
The permutation after the first k greedy pivot steps. At step j, swap the first remaining maximizer of the current score into position j. Steps beyond the size leave the ordering fixed.
Fin.greedyPerm.{u_1} {α : Type u_1} [LinearOrder α] {n : ℕ}
(s : Equiv.Perm (Fin n) → Fin n → Fin n → α) : ℕ → Equiv.Perm (Fin n)Import NLAlib.ForMathlib.GroupTheory.Perm.Fin.