def offs_add2.hit

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

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

233def offs_add2.hit(+need1: Nat, trip: List<&2, Ind.Individual> & List<&2, List<&2, F32>> & Bool) -> Nat & List<&2, Ind.Individual> & List<&2, List<&2, F32>>:
234  (acc2, seen2, hit2) = trip
235  (dec_if(need1, hit2), acc2, seen2)

Uses (8)

Used by (1)