JuliaReinforcementLearning / GridWorlds.jl

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

Refactor DynamicObstacles #94

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago

Refactor DynamicObstacles environment.

  1. Fix: set reward to goal_reward upon reaching GOAL.
  2. Cache goal_pos for efficiency (see #93 )
  3. Allow rectangular world dimensions (#70 )
  4. Update gif
codecov-io commented 3 years ago

Codecov Report

Merging #94 (c054598) into master (9a2e541) will increase coverage by 0.16%. The diff coverage is 97.56%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #94      +/-   ##
==========================================
+ Coverage   80.00%   80.16%   +0.16%     
==========================================
  Files          16       16              
  Lines         695      706      +11     
==========================================
+ Hits          556      566      +10     
- Misses        139      140       +1     
Impacted Files Coverage Δ
src/envs/dynamicobstacles.jl 98.75% <97.56%> (-1.25%) :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 9a2e541...c054598. Read the comment docs.