QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.as_delta.ASDelta Class Reference

Apply adaptive Archive-Sampling with bounded cascade replacement. More...

Public Member Functions

 front (self, cell)
 Return the live entries in cascade order, with the preferred elite first.
 optimise (self, evaluate, *, executor=None, seeded=False)
 Run ordered raw evaluations and return the native reporting grid.

Detailed Description

Apply adaptive Archive-Sampling with bounded cascade replacement.

Maintain a preference-ordered depth in every occupied descriptor cell.

Refresh every incumbent once per generation before selecting new parents.
An offspring requires a complete initial repeat group. Failed refreshes
retain the last estimate and every attempted rollout counts. Rebuild the
rankings from refreshed measurements, including changes of niche. A
final generation needs room for all refreshes and one offspring group.

:param container: Empty standalone Grid or CVTGrid with one objective.
    Its max_items_per_bin sets the depth. Leave it under the search's control.
:param budget: Total raw rollout attempts, including incumbent refreshes.
:param dimension: Number of bounded real decision variables.
:param delta_f: Fitness tolerance in raw fitness units.
:param delta_r: Reproducibility improvement required to accept a performance loss.
:param sampling_size: Maximum raw rollout attempts per generation. It must
    allow a full archive refresh and at least one new candidate.
:param initial_samples: Number of repeated measurements for new candidates.
:param estimator: "mean" or "median" for both measurements, or a pair
    selecting the fitness and descriptor estimators independently.
:param reproducibility: Optional callable taking the matrix of raw descriptors
    and returning a finite scalar to maximize. Defaults to negative mean
    population standard deviation across the descriptor coordinates.
:param ind_domain: Shared decision bounds.
:param iso_sigma: Independent Iso+LineDD noise scale.
:param line_sigma: Directional Iso+LineDD noise scale.
:param seed: Seed for variation and the independent rollout stream.

Definition at line 46 of file as_delta.py.

Member Function Documentation

◆ front()

qdpy.algorithms.as_delta.ASDelta.front ( self,
cell )

Return the live entries in cascade order, with the preferred elite first.

Return the most-to-least preferred members of one descriptor cell.

Definition at line 116 of file as_delta.py.

◆ optimise()

qdpy.algorithms.as_delta.ASDelta.optimise ( self,
evaluate,
* ,
executor = None,
seeded = False )

Run ordered raw evaluations and return the native reporting grid.

Supply evaluate(candidate) or evaluate(candidate, seed) with seeded=True.

Definition at line 181 of file as_delta.py.


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