feat(pareto): add non_dominated_sort

Deb's fast non-dominated sort: returns Vec<Vec<usize>> of front indices
into the input population, with fronts[0] being the non-dominated set.
O(N²·M) is acceptable for v1 (spec §9.5).

Tests cover: small known population produces expected fronts; equal
candidates land on the same front; an empty population yields no
fronts.
This commit is contained in:
2026-05-04 19:19:38 -06:00
parent da9baf0325
commit 9d64a0f186
3 changed files with 128 additions and 1 deletions
+2
View File
@@ -2,6 +2,8 @@
pub mod dominance;
pub mod front;
pub mod sort;
pub use dominance::*;
pub use front::*;
pub use sort::*;