Trait metaheuristics_nature::AlgCfg
source · pub trait AlgCfg {
type Algorithm<F: ObjFunc>: Algorithm<F> + 'static;
// Required method
fn algorithm<F: ObjFunc>(self) -> Self::Algorithm<F>;
// Provided method
fn pop_num() -> usize { ... }
}
Expand description
Algorithm configurations. A trait for preparing the algorithm.
The setting type is actually a builder of the AlgCfg::Algorithm
type.
Please note that the setting should not overlap with the SolverBuilder
.
Required Associated Types§
Required Methods§
Provided Methods§
Object Safety§
This trait is not object safe.