def run_seeded.sized

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

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/rng.bend as Rng
import unified-nsga-iii@0.2.2.0/problems.bend as Prob

537def run_seeded.sized(+prob: Prob.Problem, +cfg: Config, +seed_x: List<&2, F32>, n: Nat) -> List<&2, Ind.Individual>:
538  match n:
539    case 0n:
540      Nil{}
541    case 1n+p:
542      run_seeded.go(prob, cfg, seed_x, init_pop(prob, 1n+p, Rng.from_nat(cfg_seed(cfg))))

Uses (10)

Used by (1)