JuliaReinforcementLearning / GridWorlds.jl

Help! I'm lost in the flatland!
MIT License
46 stars 9 forks source link

Make rng a standard component of every env struct #87

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago

Have rng as a standard component of an environment struct. It is often very useful.

  1. Add rng field to EmptyGridWorld and FourRooms.
  2. Add a get_rng method and use it in place of env.rng