feat(traits): add Initializer, Variation, and Optimizer traits

The three operator-level traits the algorithms consume, plus the single
trait users implement to add a new optimizer (`Optimizer<P>`). All take
`&mut Rng` directly rather than being generic over the RNG (spec §7.8).
This commit is contained in:
2026-05-04 19:18:01 -06:00
parent d226601a44
commit 60e52a031c
5 changed files with 53 additions and 0 deletions
+1
View File
@@ -3,3 +3,4 @@
//! full design.
pub mod core;
pub mod traits;