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

Lockstep inference for a batch of independent neural MAP-Elites policies. More...

Go to the source code of this file.

Classes

class  qdpy.rl._batch_rollout._BatchActor
class  qdpy.rl._batch_rollout._BatchEpisode

Namespaces

namespace  qdpy

Functions

 qdpy.rl._batch_rollout._evaluate_batch (actor, cursors, genomes, budget, seeds, episode_count)
 Evaluate rollout lanes while accounting for each real environment step.

Detailed Description

Lockstep inference for a batch of independent neural MAP-Elites policies.

Definition in file _batch_rollout.py.

Function Documentation

◆ _evaluate_batch()

qdpy.rl._batch_rollout._evaluate_batch ( actor,
cursors,
genomes,
budget,
seeds,
episode_count )
protected

Evaluate rollout lanes while accounting for each real environment step.

Return completed episodes per candidate in proposal order.

Each repeat starts at most as many episodes as the remaining step
budget allows. Finished lanes wait for the next repeat. The last
round advances only the lanes with remaining step slots.

Definition at line 82 of file _batch_rollout.py.