def select_constrained.feas
unified-nsga-iii@0.2.2.0 · survival.bend:1161
import unified-nsga-iii@0.2.2.0/survival.bend as Survival
import Base
import unified-nsga-iii@0.2.2.0/individual.bend as Ind
1161def select_constrained.feas(feas: List<&2, Ind.Individual>, +rows: List<&2, CvRow>, +target: Nat, +dirs: List<&2, List<&2, F32>>) -> List<&2, Ind.Individual>:
1162 match feas:
1163 case Nil{}:
1164 take_clear(rows, target)
1165 case h <> t:
1166 append_fill(feas_keep.det(h <> t, target, dirs), rows, target)