def pick_ref.rows
import unified-nsga-iii@0.2.2.0/survival.bend as Survivalimport Base
616# fuel, k, cand first so the match follows binder order and fuel shrinks.
617def pick_ref.rows(+counts: List<&2, Nat>, +rows: List<&2, NRow>) -> Nat:
618 +refs = uniq_refs(rows)
619 min_idx_ne(refs_at_seq(counts, min_count_rows(counts, rows), refs))