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

Associated algorithm.

This type should implement Algorithm trait.

Required methods

Create the algorithm.

Provided methods

Default population number.

Implementors