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

Shared raw-rollout benchmark for uncertain MAP-Elites policies. More...

Go to the source code of this file.

Classes

class  uncertain_rastrigin.Protocol
 The exact search and audit protocol for each benchmark run. More...
class  uncertain_rastrigin._SequentialCases
 Apply the same case runner sequentially without a process pool. More...

Functions

 uncertain_rastrigin.evaluate_rastrigin (individual, seed=None, *, noise="joint")
 Evaluate bounded, zero-mean uniform noise without clipping descriptors.
 uncertain_rastrigin.warm_archive (archive, evaluate, count, seed)
 Replay identical uniform warmup genomes and noise across policies for one seed.
 uncertain_rastrigin.run_case (case, protocol, *, on_archive=None)
 Run one registered policy and score its top-layer archive with fresh rollouts.
 uncertain_rastrigin.record_case (case, protocol)
 Retain run failures with their setting and traceback for the suite report.
 uncertain_rastrigin.main ()
 Run one small demo or the full five-seed factorial suite.

Detailed Description

Shared raw-rollout benchmark for uncertain MAP-Elites policies.

Definition in file uncertain_rastrigin.py.

Function Documentation

◆ evaluate_rastrigin()

uncertain_rastrigin.evaluate_rastrigin ( individual,
seed = None,
* ,
noise = "joint" )

Evaluate bounded, zero-mean uniform noise without clipping descriptors.

Parameters
individualSix coordinates in the unit interval.
seedIndependent seed for this raw evaluation.
noiseName of the noise condition.
Returns
QDpy fitness and descriptor vectors.

Definition at line 51 of file uncertain_rastrigin.py.

◆ run_case()

uncertain_rastrigin.run_case ( case,
protocol,
* ,
on_archive = None )

Run one registered policy and score its top-layer archive with fresh rollouts.

Optionally observe the warm-up and completed sampling iterations.

Definition at line 73 of file uncertain_rastrigin.py.