gyx v0.1.25 Gyx.Experience.ReplayBufferETS

Implements ReplayMemory behaviour relying on ETS

Link to this section Summary

Functions

Adds a new experience to the reppay buffer

Returns a specification to start this module under a supervisor

Link to this section Functions

Link to this function

add(replay_buffer, experience)

Adds a new experience to the reppay buffer

Link to this function

child_spec(init_arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

delete(replay_buffer)

Link to this function

delete(replay_buffer, key)

Link to this function

get(replay_buffer, key)

Link to this function

start_link(_, ops)