QDpy
Loading...
Searching...
No Matches
qdpy.rl.qdt.QDTPolicy Class Reference

An independent autoregressive history for one requested behavior. More...

Public Member Functions

 reset (self, descriptor=None)
 Start a fresh episode with the current or a new descriptor.
 act (self, observation)
 Append one observation, emit the next action, and retain the action in context.

Detailed Description

An independent autoregressive history for one requested behavior.

Act on observations from one episode. Call reset between episodes.

Definition at line 75 of file qdt.py.

Member Function Documentation

◆ act()

qdpy.rl.qdt.QDTPolicy.act ( self,
observation )

Append one observation, emit the next action, and retain the action in context.

Use the returned physical action verbatim before supplying the next observation.

Definition at line 92 of file qdt.py.

◆ reset()

qdpy.rl.qdt.QDTPolicy.reset ( self,
descriptor = None )

Start a fresh episode with the current or a new descriptor.

Clear observations and actions. Optionally replace the requested descriptor.

Definition at line 84 of file qdt.py.


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