QDpy
Loading...
Searching...
No Matches
qdpy.benchmarks.reference.LunarLanderBenchmark Class Reference

Score the pyribs linear policy in Gymnasium LunarLander-v3. More...

Public Member Functions

 close (self)
 Release the Gymnasium simulator.
 sample (self, count, *, seed=0)
 Sample near the reference's zero-weight starting policy.
 evaluate_batch (self, genomes, *, seed=0)
 Score every policy on the specified common reset seed.

Detailed Description

Score the pyribs linear policy in Gymnasium LunarLander-v3.

Reuse one Box2D environment across candidates and close it when finished.

The first ground contact supplies horizontal position and vertical
velocity. Episodes without contact use final horizontal position and
the lowest vertical velocity observed after a step.

Definition at line 137 of file reference.py.


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