QDpy
Loading...
Searching...
No Matches
qdpy.rl.rollout.Episode Class Reference

Measurements from a completed evaluation episode. More...

Public Member Functions

 steps (self)
 return_ (self)

Detailed Description

Measurements from a completed evaluation episode.

One episode with its initial observation and the actual final observation.

Observations have shape ``(steps + 1, *observation_shape)``. Actions
and rewards have one entry per environment step. The two info mappings
are independent copies of the reset and last step info. Use values
that support ``copy.deepcopy`` in these mappings. A budget-cut
episode is never reported as a completed evaluation.

Definition at line 20 of file rollout.py.

Member Function Documentation

◆ return_()

qdpy.rl.rollout.Episode.return_ ( self)
Return the undiscounted sum of rewards.

Definition at line 44 of file rollout.py.

◆ steps()

qdpy.rl.rollout.Episode.steps ( self)
Return the number of environment steps in the episode.

Definition at line 39 of file rollout.py.


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