feat(metrics): add Schott spacing metric for Pareto fronts

Standard Schott spacing: for each front point compute the Manhattan
distance to its nearest neighbor on minimization-oriented objective
values; the spacing metric is the population standard deviation of
those nearest-neighbor distances.

Returns 0.0 for empty or single-point fronts (spec §14.1).
This commit is contained in:
2026-05-04 19:25:54 -06:00
parent a1bb49d74e
commit 69e5dd1249
3 changed files with 112 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
//! Quality metrics for Pareto fronts.
pub mod spacing;
pub use spacing::*;