QDpy
Loading...
Searching...
No Matches
age_layered.py File Reference

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.

Detailed Description

Age-layered MAP-Elites with distinct descriptors for successive layers.

See also
https://doi.org/10.1109/CEC53210.2023.10254093

Definition in file age_layered.py.

Function Documentation

◆ age_layered_map_elites()

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.

Parameters
archivesOrdered empty best-only grids or CVTs with a common objective direction.
evaluateCallable (genome) returning (scalar quality, one descriptor per layer).
sampleCallable (rng) returning a fresh genome.
mutateCallable (parent, rng) returning a single descendant genome.
max_agesStrictly increasing exclusive age limits, one per layer except the last.
budgetNumber of evaluation attempts.
immigrant_intervalDraw an age-zero immigrant at this interval.
seedPrivate search seed.
Returns
AgeLayeredResult with layers and counts.
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.