NonDominatedSort.compare_constraint: def of unified-nsga-iii@0.2.2.0 Import: import unified-nsga-iii@0.2.2.0/non_dominated_sort.bend as NonDominatedSort Lines 138-139 of unified-nsga-iii@0.2.2.0/non_dominated_sort.bend: https://jend.leeeet.dev/read.txt?path=unified-nsga-iii@0.2.2.0/non_dominated_sort.bend&start_line=138&end_line=139 import Base import unified-nsga-iii@0.2.2.0/individual.bend as Ind def compare_constraint(+a: Ind.Individual, +b: Ind.Individual) -> Nat: compare_cd(Ind.objectives(a), Ind.objectives(b), Ind.constraint_violation(a), Ind.constraint_violation(b)) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat 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=constraint_violation https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/individual.bend&name=objectives https://jend.leeeet.dev/definition.txt?path=unified-nsga-iii@0.2.2.0/non_dominated_sort.bend&name=compare_cd