pub fn multi_objective_fn<G: ?Sized, F: FnMut(&G, &mut [f64]) -> f64>(
objectives: usize,
f: F,
) -> MultiObjectiveFn<F>Expand description
Turns a closure FnMut(&G, &mut [f64]) -> f64 with objectives costs into a
MultiObjective.
pub fn multi_objective_fn<G: ?Sized, F: FnMut(&G, &mut [f64]) -> f64>(
objectives: usize,
f: F,
) -> MultiObjectiveFn<F>Turns a closure FnMut(&G, &mut [f64]) -> f64 with objectives costs into a
MultiObjective.