|
QDpy
|
Coordinate scalar-objective MAP-Elites policies that reevaluate archives. More...
Public Member Functions | |
| optimise (self, evaluate, *, executor=None, seeded=False) | |
| Run the chosen policy and return the current best solution. | |
Protected Member Functions | |
| _extract (self, archive, count) | |
| Choose one distinct ranked subset for Extract-ME. | |
| _schedule (self, slots) | |
| Assign repeat groups using the generation limit and active policy. | |
| _generation (self) | |
| Stage a complete generation with the published reevaluation order. | |
| _run_adaptive (self) | |
| Run one local race at a time, committing completed archive updates. | |
| _one (self, individual, *, incumbent) | |
| Spend one remaining rollout and record the work category. | |
| _race (self, archive, individual, observations, *, incumbent=False) | |
| Resolve a challenger or drifting incumbent using successive local comparisons. | |
Static Protected Member Functions | |
| _admit (archive, individual) | |
| Reject finite estimates outside the grid without treating them as worker errors. | |
Coordinate scalar-objective MAP-Elites policies that reevaluate archives.
Run one published or experimental sampling and archive policy.
:param container: A standalone fixed Grid or CVTGrid with one objective.
:param budget: Maximum search rollouts, inclusive of reevaluations.
:param sampling_size: Rollout slots available per generation.
:param dimension: Genome length used by the default polynomial emitter.
:param policy: Adaptive, Deep-Grid, Deep-Grid-Sampling, Archive-Sampling,
Parallel-Adaptive-Sampling, Extract-ME, or fill-then-refine.
:param base_alg: Optional QDpy emitter using the same archive. Its
selection rule replaces the default selector for the policy.
:param initial_samples: Override new-offspring repeats where applicable.
:param extraction_fraction: Fraction of a generation reserved for Extract-ME.
:param max_samples: Per-solution cap for the local adaptive race.
:param limit_descriptor_drift: Apply the cell-visit stopping rule in adaptive races.
:param seed: Seed for rollout IDs and the extraction RNG. Seed the
caller's Python and NumPy RNGs separately for emitter reproduction.
Definition at line 177 of file uncertain.py.
|
protected |
Resolve a challenger or drifting incumbent using successive local comparisons.
Definition at line 407 of file uncertain.py.
| qdpy.algorithms.uncertain.UncertainMAPElites.optimise | ( | self, | |
| evaluate, | |||
| * | , | ||
| executor = None, | |||
| seeded = False ) |
Run the chosen policy and return the current best solution.
| evaluate | Ordinary QDpy evaluator, or evaluate(individual, seed) with seeded=True. |
| executor | Optional standard QDpy evaluation executor. |
| seeded | Pass a deterministic rollout seed separately to the evaluator. |
Definition at line 251 of file uncertain.py.