Build higher-level repertoire layers over fixed primitive skills.
Grow a hierarchy from finite low-level RTESkill records.
Each new layer evolves sequences of indices into the layer below.
Candidates are executed during construction by a caller-supplied
simulator or scorer. Its returned displacement and secondary
descriptors identify the cell used for scalar fitness competition.
Definition at line 39 of file hte.py.
| qdpy.algorithms.hte.HierarchicalRepertoire.add_layer |
( |
| self, |
|
|
| evaluate, |
|
|
* | , |
|
|
| shape, |
|
|
| features_domain, |
|
|
| sequence_length, |
|
|
| budget, |
|
|
| seed = None ) |
Illuminate one layer of sequences made out of the previous layer.
Return a new layer of evaluated HTESkill records.
Evaluate receives the expanded tuple of primitive RTESkills and
returns (fitness, displacement, secondary). The first descriptor
axes in the native Grid are the displacement coordinates. Use at
least one secondary descriptor axis to retain alternatives.
Definition at line 74 of file hte.py.