def normalize_nd.pick

unified-nsga-iii@0.2.2.0 · normalization.bend:638

import unified-nsga-iii@0.2.2.0/normalization.bend as Normalization
import Base
import unified-nsga-iii@0.2.2.0/individual.bend as Ind

638def normalize_nd.pick(state: State, +pop: List<&2, Ind.Individual>, nd: List<&2, Nat>, bad: Bool) -> State & List<&2, List<&2, F32>>:
639  match bad:
640    case False{}:
641      normalize_nd.go(state, pop, nd)
642    case True{}:
643      normalize_nd.bad(state, pop, nd, has_feas(pop))

Uses (10)

Used by (1)