|
| | __len__ (self) |
| | __iter__ (self) |
| | __getitem__ (self, index) |
| | cell_elites (self) |
| | filled_bins (self) |
| | coverage (self) |
| | features_domain (self) |
| | cells_for (self, trace) |
| | Identify distinct cells in order of their first visit.
|
| | sample (self, rng, *, by_cell=True) |
| | Sample one parent by cell or by retained measurement.
|
| | add (self, genome, fitness, trace) |
| | Apply the same measurement independently to all visited cells.
|
| | to_grid (self) |
| | Materialize a per-cell reporting grid for plotting or export.
|
| | qd_score (self, normalized=True) |
| | Sum the fitness of cell winners as in a best-only grid.
|
Best-only multi-point archive with one record per retained measurement.
Use native Grid or CVTGrid geometry with independent competition per cell.
In-bounds points compete using the same signed fitness. Duplicate points
or visits to the same cell compete once. Equal fitness keeps the existing
winner. Multiple cells can reference the same immutable record. The
archive releases the record when the last cell is taken by another elite.
:param geometry: Empty, parentless, best-only Grid or CVTGrid with one
explicit signed objective and direct fitness and descriptors.
Definition at line 34 of file trace.py.
| qdpy.containers.trace.TraceArchive.add |
( |
| self, |
|
|
| genome, |
|
|
| fitness, |
|
|
| trace ) |
Apply the same measurement independently to all visited cells.
Return the cell indices won by this measurement.
Genome coordinates, scalar fitness and descriptor points must be
finite. Empty traces, out-of-domain points and out-of-domain fitness
never win a cell.
Definition at line 122 of file trace.py.