|
QDpy
|
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. | |
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.
| qdpy.algorithms.optimal_mixing.GOMMAPElites.run | ( | self, | |
| evaluate, | |||
| budget, | |||
| * | , | ||
| seed_genomes = () ) |
Run a new search with exactly budget objective calls.
| evaluate | Callable mapping a genome tuple to (scalar fitness, descriptors). |
| budget | Number of objective calls, including intermediate block probes. |
| seed_genomes | Optional measured start points charged to the budget. |
Fill the supplied empty archive and return its search costs.
Definition at line 109 of file optimal_mixing.py.