|
QDpy
|
Add specialized conditioned actors to the MAP-Elites offspring batch. More...
Additional Inherited Members | |
| Public Member Functions inherited from qdpy.rl.descriptor_search._DescriptorMAPElites | |
| stats (self) | |
| conditioned_policy (self, *, device=None) | |
| Rebuild an independent copy of the shared conditioned actor. | |
| train (self, max_env_steps) | |
| Spend a hard budget on archive candidates and any replay-only actor episodes. | |
| Public Member Functions inherited from qdpy.rl.search.NeuralMAPElites | |
| policy_for (self, individual, *, device=None, seed=0) | |
| Rebuild an independent inference actor from an archived genome. | |
| best_policy (self, *, device=None, seed=0) | |
| Rebuild the best archived actor for inference or export. | |
Add specialized conditioned actors to the MAP-Elites offspring batch.
Implement the actor-injection schedule from the 2024 DCRL paper.
Genetic and PG variation complement injected actors specialized at
uniformly drawn target descriptors. These actors use the same genome
representation as archive elites. PG offspring retain the parent's
descriptor as their replay target. Injections retain their sampled
target. All candidates compete in the cell they actually reach.
:param env_factory: Gymnasium factory with bounded floating Box actions.
:param archive: Best-only Grid or CVTGrid with finite descriptor bounds.
:param injections: Actor injection slots per generation. Set to zero
for the no-injection ablation.
:param kwargs: Learner, offspring, and scoring options as in
:class:`DCGMAPElites`. Initial population size includes injections.
Definition at line 316 of file descriptor_search.py.