def vars_of.go

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

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/util.bend as Util

138def vars_of.go(xs: List<&2, Ind.Individual>, acc: List<&2, List<&2, F32>>) -> List<&2, List<&2, F32>>:
139  match xs:
140    case Nil{}:
141      List.reverse(&2, List<&2, F32>, acc)
142    case +ind <> rest:
143      vars_of.go(rest, Util.g12_vec(Ind.variables(ind)) <> acc)

Uses (6)

Used by (1)