QDpy
Loading...
Searching...
No Matches
qdpy.algorithms.scheduled_cvt.ScheduledCVTMAPElites Class Reference

Run a phase-based search over complete descriptor spaces. More...

Public Member Functions

 archives (self)
 current_archive (self)
 stats (self)
 run (self, evaluate, budget)
 Run additional evaluator calls without changing the phase schedule.

Detailed Description

Run a phase-based search over complete descriptor spaces.

Use the active CVT archive as the parent pool for one phase.

At a phase boundary, re-bin each current elite into the incoming
archive using the measurements cached on the original evaluation.
The incoming archive also keeps any elites already found in earlier
phases. Transfer costs zero evaluator calls. Each view owns its
fitness weights and descriptor geometry.

:param archives: Ordered mapping of names to empty, distinct scalar CVT grids.
:param dimension: Number of real decision coordinates.
:param phase_evaluations: Number of evaluation attempts per active view.
:param shared_feedback: Also offer each evaluation to inactive views for a control.
:param ind_domain: Increasing finite genome bounds shared by all coordinates.
:param iso_sigma: Independent Iso+LineDD mutation scale.
:param line_sigma: Directional Iso+LineDD mutation scale.
:param seed: Seed for private variation and evaluator streams.

Definition at line 46 of file scheduled_cvt.py.

Member Function Documentation

◆ archives()

qdpy.algorithms.scheduled_cvt.ScheduledCVTMAPElites.archives ( self)
Return a mapping of names to the live CVT grids owned by the search.

Definition at line 91 of file scheduled_cvt.py.

◆ current_archive()

qdpy.algorithms.scheduled_cvt.ScheduledCVTMAPElites.current_archive ( self)
Return the active parent pool.

Definition at line 96 of file scheduled_cvt.py.

◆ run()

qdpy.algorithms.scheduled_cvt.ScheduledCVTMAPElites.run ( self,
evaluate,
budget )

Run additional evaluator calls without changing the phase schedule.

Parameters
evaluateCallable taking (genome, seed) and returning (fitness, descriptor_views).
budgetNumber of additional calls on this invocation.
Returns
Cumulative evaluation and phase counts.
Return a scalar fitness and one descriptor vector per configured view.

Definition at line 128 of file scheduled_cvt.py.

◆ stats()

qdpy.algorithms.scheduled_cvt.ScheduledCVTMAPElites.stats ( self)
Return cumulative evaluator and phase counts.

Definition at line 101 of file scheduled_cvt.py.


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