QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.optimal_mixing.GOMMAPElites Class Reference

Adapt gene-pool optimal mixing to categorical best-only archives. More...

Public Member Functions

 run (self, evaluate, budget, *, seed_genomes=())
 Run a new search with exactly budget objective calls.

Detailed Description

Adapt gene-pool optimal mixing to categorical best-only archives.

Search a product of integer categories using measured block recombination.

Groups are inferred from archived genomes. Each mix chooses donors
from a snapshot so admissions during the mix do not change its gene
pool. Offer every measured intermediate to the archive. Continue
mixing from a trial if it preserves or improves the parent's scalar
fitness, using the archive's comparison direction.

:param archive: Empty parentless scalar best-only Grid or CVTGrid.
:param nvec: Number of categories for each variable, starting at zero.
:param initial_samples: Minimum number of initial proposals before mixing.
:param random_injection: Probability of a random instead of a mixing proposal.
:param linkage_period: Minimum number of measurements between linkage fits.
:param learn_linkage: Learn groups or use only singleton groups for a control.
:param seed: Private seed for sampling and selecting genomes.

Definition at line 67 of file optimal_mixing.py.

Member Function Documentation

◆ run()

qdpy.algorithms.optimal_mixing.GOMMAPElites.run ( self,
evaluate,
budget,
* ,
seed_genomes = () )

Run a new search with exactly budget objective calls.

Parameters
evaluateCallable mapping a genome tuple to (scalar fitness, descriptors).
budgetNumber of objective calls, including intermediate block probes.
seed_genomesOptional measured start points charged to the budget.
Returns
Counters for measurements, mixing, and archive updates.
Fill the supplied empty archive and return its search costs.

Definition at line 109 of file optimal_mixing.py.


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