QDpy
Loading...
Searching...
No Matches
qdpy.rl.miqd.MIQD Class Reference

Combine fragment information, neighboring elite targets, and team CEM. More...

Inheritance diagram for qdpy.rl.miqd.MIQD:
qdpy.rl.masqd.MASQD qdpy.rl.search.NeuralMAPElites

Public Member Functions

 stats (self)
Public Member Functions inherited from qdpy.rl.masqd.MASQD
 train (self, max_env_steps)
 Run team evaluations under an additional hard environment-step cap.
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.

Detailed Description

Combine fragment information, neighboring elite targets, and team CEM.

Learn distinct cooperative behaviors with a centralized joint critic.

Use the fixed-agent joint Box adapter, archive, team policy export, and
search accounting of MASQD. A separate feature callback supplies bounded
state descriptors in the same units as the archive descriptors.
Team evaluations always use the external task fitness.

:param env_factory: Factory for a single joint Gymnasium environment.
:param archive: Empty best-only Grid or CVTGrid.
:param descriptor: Function of a completed team episode, used by the archive.
:param fragment_feature: Function of a joint observation, returning bounded
    features in archive descriptor coordinates.
:param fragment_radius: Half-window size for each centered averaging pass.
:param target_neighbors: Maximum number of nearest elites per bootstrap target.
:param information_weight: Weight on the MINE density-ratio reward. Zero ablates it.
:param information_cap: Bound on the absolute per-transition log-density ratio.
:param kwargs: MASQD team, CEM, archive accounting, and optimizer settings.

Definition at line 186 of file miqd.py.

Member Function Documentation

◆ stats()

qdpy.rl.miqd.MIQD.stats ( self)
Return the team search and auxiliary learning counts.

Reimplemented from qdpy.rl.masqd.MASQD.

Definition at line 234 of file miqd.py.


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