Maintain concurrent, independently restarting evolution strategies.
Use one global archive for measured centers and a FIFO for novelty.
In each round all emitters ask for antithetic perturbations. After
receiving their ordered feedback, each separately measures its new
center. Only center measurements can affect either archive. Emitters
whose completed center nominations do not survive for more than
stale_budget rounds restart from a uniformly sampled elite.
:param archive: Parentless, best-only Grid or CVTGrid with one signed objective.
:param initial_centers: Matrix with one starting genome per emitter.
:param exploit_emitters: Number of fitness emitters starting at index zero.
The others optimize novelty. Defaults to half the emitters.
:param pairs: Antithetic perturbation pairs per emitter and round.
:param stale_budget: Failed admissions tolerated before an emitter restarts.
:param evaluations_per_center: Independent evaluator calls averaged per center.
:param novelty_capacity: Maximum recent center descriptors retained for novelty.
:param novelty_neighbors: Number of nearest neighbors averaged for novelty.
:param sigma: Gaussian perturbation scale.
:param learning_rate: Adam step size.
:param l2: Parameter decay included in the ascent gradient.
:param ind_domain: Optional common bounds for genome coordinates.
:param seed: Private seed for perturbations and resets.
Definition at line 57 of file memes.py.
| qdpy.algorithms.memes.MEMES.run |
( |
| self, |
|
|
| evaluate, |
|
|
| budget, |
|
|
* | , |
|
|
| executor = None, |
|
|
| evaluate_batch = None ) |
Spend an additional evaluation budget on complete parallel rounds.
Return the shared archive after at most budget objective calls.
Supply evaluate(genome) or pass None with evaluate_batch(matrix).
The latter receives each phase in one call and returns one ordered
result per row. A scalar evaluator can use a caller-owned executor.
Results are (fitness, descriptors) or None for a failed rollout.
Definition at line 231 of file memes.py.