QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.hierarchical.HierarchicalMAPElites Class Reference

Evolve a hierarchical repertoire with branch-uniform parent selection. More...

Public Member Functions

 run (self, evaluate, *, budget)
 Add an evaluation budget to the current repertoire.

Detailed Description

Evolve a hierarchical repertoire with branch-uniform parent selection.

Search with caller-defined initialization, mutation and evaluation.

:param archive: HierarchicalArchive, optionally seeded.
:param propose: Callback (rng) returning a new genome.
:param mutate: Callback (parent_genome, rng) returning an offspring.
:param random_fraction: Probability of drawing a fresh genome when
    parents are available.
:param seed: Seed for parent selection and genome proposals.

Definition at line 126 of file hierarchical.py.

Member Function Documentation

◆ run()

qdpy.algorithms.hierarchical.HierarchicalMAPElites.run ( self,
evaluate,
* ,
budget )

Add an evaluation budget to the current repertoire.

Evaluate genomes for (fitness, coarse descriptor, fine descriptor).

A failed evaluation returned as None still consumes an attempt.

Definition at line 150 of file hierarchical.py.


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