JuliaReinforcementLearning / GridWorlds.jl

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

Refactor GoToDoor #98

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago

Refactor GoToDoor environment

  1. Cache door positions for efficiency
  2. Rename target_reward to terminal_reward and penalty to terminal_penalty
  3. Allow rectangular world dimension (#70 )
codecov-io commented 3 years ago

Codecov Report

Merging #98 (d5a6780) into master (0d0148e) will increase coverage by 0.09%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   80.90%   81.00%   +0.09%     
==========================================
  Files          16       16              
  Lines         728      737       +9     
==========================================
+ Hits          589      597       +8     
- Misses        139      140       +1     
Impacted Files Coverage Δ
src/envs/gotodoor.jl 100.00% <100.00%> (ø)
src/envs/sequentialrooms.jl 99.09% <0.00%> (-0.91%) :arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 0d0148e...d5a6780. Read the comment docs.