Survival.near_lim: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/survival.bend as Survival Lines 536-541 of unified-nsga-iii@0.2.2.0/survival.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/survival.bend&start_line=536&end_line=541 import Base # Uniform inNiche[rng.Next] (C# non-empty + rng) lets far-from-ray last-front # junk into a niche. With this LCG that pile-up dominates ZDT2's concave # front (x0 → 0). Draw extras only among members within 2×best+0.01 of # the ray (first assignment to a niche stays closest). def near_lim(+best: F32) -> F32: F32.add(F32.mul(best, 2.0), 0.01) Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.add https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=F32.mul