Ultra 0.9.4
Loading...
Searching...
No Matches
ultra::parameters::population_parameters Struct Reference

Public Attributes

std::size_t individuals {0}
std::size_t init_subgroups {0}
std::size_t min_individuals {0}

Member Data Documentation

◆ individuals

std::size_t ultra::parameters::population_parameters::individuals {0}

Number of individuals in a layer of the population.

Note
0 means auto-tune.
Examples
rastrigin.cc, and scheduling.cc.

◆ init_subgroups

std::size_t ultra::parameters::population_parameters::init_subgroups {0}

Initial number of subgroups the population is structured on.

Warning
Setting init_subgroups > 1 with the standard evolution strategy is like running multiple concurrent populations autonomously (there isn't any direct interaction among subgroups; fitness values could be shared via cache). For ALPS or other strategies that allow migrants the situation is more complex.
Note
0 means auto-tune.

◆ min_individuals

std::size_t ultra::parameters::population_parameters::min_individuals {0}

Minimum number of individuals in a layer of the population.

Some evolution strategies dynamically change the population size. This parameter avoids to drop below a predefined limit

Note
0 means auto-tune.

The documentation for this struct was generated from the following file: