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:
@@ -3,3 +3,4 @@
|
||||
//! full design.
|
||||
|
||||
pub mod core;
|
||||
pub mod traits;
|
||||
|
||||
Reference in New Issue
Block a user