pub fn mu_comma_lambda<B: Backend>(
offspring: Tensor<B, 2>,
offspring_fitness: &[f32],
mu: usize,
device: &B::Device,
) -> (Tensor<B, 2>, Vec<f32>)Expand description
(μ, λ) replacement: discard parents; keep the μ best of the λ
offspring. Requires lambda >= mu.
§Panics
Panics if mu > offspring_fitness.len() (i.e. lambda < mu).