JuliaReinforcementLearning / CommonRLInterface.jl

A minimal reinforcement learning environment interface with additional opt-in features.
MIT License
45 stars 1 forks source link

setstate!(env, state) #9

Closed zsunberg closed 4 years ago

zsunberg commented 4 years ago

In some environments, it is possible to set the state. Should we add setstate(env, state) as an optional interface function?

mkschleg commented 4 years ago

I think this is reasonable. Another possibility is to add it as a method for reset!.

zsunberg commented 4 years ago

We'll need to decide which one. Let's vote:

:rocket: = setstate!(env, state) :tada: = reset!(env, state)