|
QDpy
|
Age-layered MAP-Elites with distinct descriptors for successive layers. More...
Go to the source code of this file.
Classes | |
| class | qdpy.algorithms.age_layered.AgeLayeredResult |
| Report the live layers, measurement budget, and age-driven migrations. More... | |
Namespaces | |
| namespace | qdpy |
Functions | |
| qdpy.algorithms.age_layered.age_layered_map_elites (archives, evaluate, *, sample, mutate, max_ages, budget, immigrant_interval=8, seed=0) | |
| Compete in separate feature maps as the age of a lineage increases. | |
Age-layered MAP-Elites with distinct descriptors for successive layers.
Definition in file age_layered.py.
| qdpy.algorithms.age_layered.age_layered_map_elites | ( | archives, | |
| evaluate, | |||
| * | , | ||
| sample, | |||
| mutate, | |||
| max_ages, | |||
| budget, | |||
| immigrant_interval = 8, | |||
| seed = 0 ) |
Compete in separate feature maps as the age of a lineage increases.
| archives | Ordered empty best-only grids or CVTs with a common objective direction. |
| evaluate | Callable (genome) returning (scalar quality, one descriptor per layer). |
| sample | Callable (rng) returning a fresh genome. |
| mutate | Callable (parent, rng) returning a single descendant genome. |
| max_ages | Strictly increasing exclusive age limits, one per layer except the last. |
| budget | Number of evaluation attempts. |
| immigrant_interval | Draw an age-zero immigrant at this interval. |
| seed | Private search seed. |
Inherit the parent's birth evaluation and compete in the current age layer. At the first evaluation whose age reaches a layer limit, move or expire the individual using its cached measurement. Promotions count successful arrivals and expirations include rejected moves. The last layer has no age limit.
Definition at line 44 of file age_layered.py.