QDpy
Loading...
Searching...
No Matches
vq_ccqd.py File Reference

Run paired VQ-Elites placement and RL archive comparisons on CPU. More...

Go to the source code of this file.

Classes

class  vq_ccqd._ContinuousNiches
class  vq_ccqd.TwoAxisControl
 A short custom continuous-control task with random target y at reset. More...

Functions

 vq_ccqd.sample_trajectory (point)
 Produce an observation trajectory from two real controls for the VQ example.
 vq_ccqd.vq_trial (seed, budget)
 Replay identical measured trajectories under discrete and continuous niche definitions.
 vq_ccqd.action_descriptor (episode)
 Record average actuator use over an episode.
 vq_ccqd.ccqd_trial (seed, budget)
 Compare CCQD and RefQD with matched environment interaction limits.

Detailed Description

Run paired VQ-Elites placement and RL archive comparisons on CPU.

Definition in file vq_ccqd.py.

Function Documentation

◆ action_descriptor()

vq_ccqd.action_descriptor ( episode)

Record average actuator use over an episode.

Fit the two bounded mean actions into a fixed grid.

Definition at line 140 of file vq_ccqd.py.

◆ ccqd_trial()

vq_ccqd.ccqd_trial ( seed,
budget )

Compare CCQD and RefQD with matched environment interaction limits.

Audit all available elites under a held-out reset stream and separate cost cap.

Definition at line 146 of file vq_ccqd.py.

◆ sample_trajectory()

vq_ccqd.sample_trajectory ( point)

Produce an observation trajectory from two real controls for the VQ example.

Return a scalar objective and twelve observation values.

Definition at line 34 of file vq_ccqd.py.

◆ vq_trial()

vq_ccqd.vq_trial ( seed,
budget )

Replay identical measured trajectories under discrete and continuous niche definitions.

Report each archive's placements in a second grid with shared physical coordinates.

Definition at line 91 of file vq_ccqd.py.