QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.distribution_map_elites.DistributionMAPElites Class Reference

Measure stochastic outcomes repeatedly and illuminate fixed distributional niches. More...

Inheritance diagram for qdpy.algorithms.distribution_map_elites.DistributionMAPElites:
qdpy.algorithms.medoid_map_elites.MedoidMAPElites

Public Member Functions

 optimise (self, evaluate, *, budget)
 Spend a candidate budget, charging every attempted rollout separately.
 audit (self, evaluate, *, rollouts)
 Reassess archived genomes on a common held-out seed panel.

Detailed Description

Measure stochastic outcomes repeatedly and illuminate fixed distributional niches.

Use mean rollout fitness and the empirical distribution of scalar outcomes.

:param archive: MedoidArchive with EmpiricalDistribution reference descriptors.
    Use wasserstein_descriptor_distance for one-dimensional Wasserstein niches.
:param propose: Callback (rng) producing an immutable genome.
:param mutate: Callback (parent, rng) producing an immutable offspring.
:param rollouts: Number of attempted calls per complete search measurement.
:param seed: Seed for variation and independent search and audit rollout streams.

The evaluator receives (genome, integer_seed) and returns (fitness,
scalar_outcome). Fitness controls replacement. The outcome controls
the niche. The evaluator can return the same value for both.

Definition at line 77 of file distribution_map_elites.py.

Member Function Documentation

◆ audit()

qdpy.algorithms.distribution_map_elites.DistributionMAPElites.audit ( self,
evaluate,
* ,
rollouts )

Reassess archived genomes on a common held-out seed panel.

Return audit records in niche order, without writing measurements to the archive.

Every elite receives the same fixed seed panel, drawn independently
of search. Repeating an audit with the same size reuses that panel.

Definition at line 128 of file distribution_map_elites.py.

◆ optimise()

qdpy.algorithms.distribution_map_elites.DistributionMAPElites.optimise ( self,
evaluate,
* ,
budget )

Spend a candidate budget, charging every attempted rollout separately.

Return the search archive after up to budget complete candidate measurements.

Reimplemented from qdpy.algorithms.medoid_map_elites.MedoidMAPElites.

Definition at line 115 of file distribution_map_elites.py.


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