Skip to main content

Module ops

Module ops 

Source
Expand description

Evolutionary operators.

Operators are organized by role:

  • selection — parent selection (tournament, truncation).
  • crossover — recombination (BLX-α, uniform).
  • mutation — variation (Gaussian, Cauchy, uniform-reset).
  • replacement — survivor selection (generational, elitist, (μ+λ), (μ,λ)).
  • linalg — host-side dense linear algebra (Jacobi eigendecomposition, Cholesky) for the covariance-matrix strategies.

The kernels submodule houses custom CubeCL fused kernels (empty for now; see the custom-kernels crate feature).

All operator functions take an explicit &mut dyn RngCore and a &B::Device so the harness owns determinism. Operators never touch thread-local or global RNG state.

Modules§

crossover
Recombination / crossover operators for real-valued genomes.
kernels
Custom CubeCL kernels for hot-path operators.
linalg
Host-side dense linear algebra for covariance-matrix strategies.
mutation
Mutation operators for real-valued genomes.
replacement
Survivor-selection / replacement operators.
selection
Parent-selection operators.