JuliaReinforcementLearning / GridWorlds.jl

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

Refactor CollectGems #97

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago
  1. Cache gem_pos for efficiency.
  2. Allow rectangular world dimensions (#70 )
  3. Add num_gem_init as a keyword argument.
  4. Randomize agent starting position and direction.
codecov-io commented 3 years ago

Codecov Report

Merging #97 (8932701) into master (5b8ef01) will increase coverage by 0.27%. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #97      +/-   ##
==========================================
+ Coverage   80.49%   80.76%   +0.27%     
==========================================
  Files          16       16              
  Lines         728      728              
==========================================
+ Hits          586      588       +2     
+ Misses        142      140       -2     
Impacted Files Coverage Δ
src/envs/collectgems.jl 100.00% <100.00%> (ø)
src/envs/dynamicobstacles.jl 98.75% <0.00%> (+2.50%) :arrow_up:

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 5b8ef01...8932701. Read the comment docs.