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

MAP-Elites Success with multiple descriptor views of each evaluation. More...

Go to the source code of this file.

Classes

class  qdpy.algorithms.multi_bd_mes.MultiBDMESResult
 Live archives and accounting for a shared sequence of evaluations. More...

Namespaces

namespace  qdpy

Functions

 qdpy.algorithms.multi_bd_mes.multi_bd_mes (archives, evaluate, *, dimension, budget, ind_domain=(0, 1), mutation_sigma=0.1, seed=0, on_step=None)
 Use one evaluation to update multiple success-prioritised archives.

Detailed Description

MAP-Elites Success with multiple descriptor views of each evaluation.

Definition in file multi_bd_mes.py.

Function Documentation

◆ multi_bd_mes()

qdpy.algorithms.multi_bd_mes.multi_bd_mes ( archives,
evaluate,
* ,
dimension,
budget,
ind_domain = (0, 1),
mutation_sigma = 0.1,
seed = 0,
on_step = None )

Use one evaluation to update multiple success-prioritised archives.

Run steady-state multi-descriptor MAP-Elites Success.

Each grid has independent local competition. A success takes precedence
within its cell. Fitness breaks comparisons between entries with equal
success status. Select parent grids in round-robin order, falling back
to a populated grid if necessary. Within each grid, sample uniformly
from successful elites when available, or from all elites while searching
for a first success. Mutate real-valued candidates with bounded Gaussian
noise. Garrabé et al. use the multi-grid method with inferred descriptor
functions. This runner accepts them as part of the supplied evaluator.

:param archives: Mapping from descriptor view names to distinct, empty,
    parentless, best-only Grid or CVTGrid instances.
:param evaluate: Callable taking an immutable genome and returning
    (success, (fitness,), {view: descriptors}). Success is a bool.
:param dimension: Number of real variables in each genome.
:param budget: Total evaluator attempts across all descriptor views.
:param ind_domain: Inclusive lower and upper genome bounds.
:param mutation_sigma: Gaussian standard deviation as a fraction of the bounds' span.
:param seed: Private random seed for initialization, selection and mutation.
:param on_step: Optional callback taking the archives and keyword arguments
    iteration and evaluations after each attempted evaluation.
:returns: Live archives and shared evaluation accounting.

Definition at line 47 of file multi_bd_mes.py.