Trait metaheuristics_nature::utility::Setting
source · [−]pub trait Setting {
type Algorithm;
fn algorithm(self) -> Self::Algorithm;
fn default_pop() -> usize { ... }
}
Expand description
A trait that provides a conversion to original setting.
The setting type is actually a builder of the Setting::Algorithm
type.
Associated Types
Required methods
Provided methods
fn default_pop() -> usize
fn default_pop() -> usize
Default population number.