Sbx.maybe: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/sbx.bend as Sbx Lines 185-199 of unified-nsga-iii@0.2.2.0/sbx.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/sbx.bend&start_line=185&end_line=199 import Base import unified-nsga-iii@0.2.2.0/individual.bend as Ind import unified-nsga-iii@0.2.2.0/bounds.bend as Bounds import unified-nsga-iii@0.2.2.0/rng.bend as Rng def maybe( +eta: F32, +x1s: List<&2, F32>, +x2s: List<&2, F32>, +box: Bounds.Box, rng: Rng.State, +m: Nat, +n: Nat, skip: Bool ) -> Rng.State & Ind.Individual & Ind.Individual: match skip: case True{}: (rng, Ind.from_variables(x1s, m), Ind.from_variables(x2s, m)) case False{}: start(eta, x1s, x2s, box, rng, m, n) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Pair https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Sigma https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/bounds.bend&name=Box https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/individual.bend&name=Individual https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/individual.bend&name=from_variables https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/rng.bend&name=State https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/sbx.bend&name=start