QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.come.CoME Class Reference

Coevolve two specialized archives using separate coupling maps. More...

Public Member Functions

 run (self, budget)
 Score exactly the requested number of complete pairs.

Detailed Description

Coevolve two specialized archives using separate coupling maps.

Mutate one component and evaluate it with neighbors of a chosen partner cell.

The two rectangular grids have identical shapes. Each is indexed by one
component's descriptors and stores the complete pair and its measured
fitness. Each archive competes independently. Partner selection reads
that side's component from the pair at the chosen cell.

:param archives: Two distinct empty, parentless, best-only grids with the
    same shape and the same finite, nonzero scalar fitness weight.
:param initialize: Two callbacks returning a component given the Generator.
:param mutations: Two callbacks taking (component, rng) and returning a component.
:param descriptors: Two callbacks taking a component and returning its finite,
    in-bounds descriptor vector. Components are immutable and hashable.
:param evaluate: Callback returning scalar fitness from a complete pair.
:param coupling: One of "local-best", "global-best", "identity", "center", or "random".
:param partners: Maximum number of distinct neighbor cells sampled per mutation.
:param radius: Strict Euclidean radius in cell-index units around the partner cell.
:param initial_samples: Number of independently initialized pairs to score.
:param batch_size: Maximum number of scored pairs between archive updates.
:param seed: Private proposal seed.

Definition at line 35 of file come.py.

Member Function Documentation

◆ run()

qdpy.algorithms.come.CoME.run ( self,
budget )

Score exactly the requested number of complete pairs.

Continue from the live archives and coupling maps for budget pair evaluations.

Definition at line 155 of file come.py.


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