feat(operators): add RealBounds initializer and GaussianMutation

`RealBounds` (Initializer<Vec<f64>>) samples each variable uniformly in
its inclusive (lo, hi) range; panics if any bound has lo > hi
(spec §11.1).

`GaussianMutation` (Variation<Vec<f64>>) clones the first parent and
adds Normal(0, sigma) noise to every element; panics on sigma <= 0.0;
does not enforce bounds in v1 (spec §11.2).
This commit is contained in:
2026-05-04 19:21:30 -06:00
parent 663ed0ae58
commit 113a7342f8
4 changed files with 141 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
//! full design.
pub mod core;
pub mod operators;
pub mod pareto;
pub mod prelude;
pub mod traits;