Skip to main content

rlevo_evolution/ops/
mod.rs

1//! Evolutionary operators.
2//!
3//! Operators are organized by role:
4//!
5//! - [`selection`] — parent selection (tournament, truncation).
6//! - [`crossover`] — recombination (BLX-α, uniform).
7//! - [`mutation`] — variation (Gaussian, Cauchy, uniform-reset).
8//! - [`replacement`] — survivor selection (generational, elitist,
9//!   (μ+λ), (μ,λ)).
10//!
11//! The [`kernels`] submodule houses custom `CubeCL` fused kernels (empty
12//! for now; see the `custom-kernels` crate feature).
13//!
14//! All operator functions take an explicit `&mut dyn RngCore` and a
15//! `&B::Device` so the harness owns determinism. Operators never touch
16//! thread-local or global RNG state.
17
18pub mod crossover;
19pub mod kernels;
20pub mod mutation;
21pub mod replacement;
22pub mod selection;