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

MAP-Elites with sampling from the most recently admitted elites. More...

Go to the source code of this file.

Classes

class  qdpy.algorithms.youth.YouthMAPElites
 Use the youngest retained elites as a parent population. More...

Namespaces

namespace  qdpy

Functions

 qdpy.algorithms.youth.select_youth (archive, count, *, rng=None)
 Draw one parent from the newest surviving entries of a native archive.

Detailed Description

MAP-Elites with sampling from the most recently admitted elites.

See also
https://doi.org/10.1145/3449726.3459493

Definition in file youth.py.

Function Documentation

◆ select_youth()

qdpy.algorithms.youth.select_youth ( archive,
count,
* ,
rng = None )

Draw one parent from the newest surviving entries of a native archive.

Return a live recent elite from a nonempty insertion-ordered archive.

A NumPy Generator can supply the draw. The default uses Python's
random stream, as do the native polynomial mutation operators.

Definition at line 20 of file youth.py.