def gen_loop

unified-nsga-iii@0.2.2.0 · algorithm.bend:496

import unified-nsga-iii@0.2.2.0/algorithm.bend as Algorithm
import Base
import unified-nsga-iii@0.2.2.0/individual.bend as Ind
import unified-nsga-iii@0.2.2.0/problems.bend as Prob

496def gen_loop(fuel: Nat, hold: GHold, +prob: Prob.Problem, +cfg: Config) -> List<&2, Ind.Individual>:
497  match fuel hold:
498    case 0n h:
499      gen_pop(h)
500    case 1n+g h:
501      gen_loop(g, one_gen(prob, cfg, h), prob, cfg)

Uses (8)

Used by (1)