JuliaReinforcementLearning / GridWorlds.jl

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

Env indexing and cleanup #103

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago
  1. Use the forward macro to allow indexing of the env objects.
  2. Add the rand method for conditional position sampling that takes an env object as an argument.
  3. Use pos -> env[EMPTY, pos] in DynamicObstacles to randomly find a new goal_pos.
  4. Remove exporting of the name switch!. The method has already been removed.