JuliaReinforcementLearning / GridWorlds.jl

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

Add NavigationStyle trait #116

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago
  1. Add new direction type Center
  2. Add AbstractNavigationStyle trait
    1. Add DirectedNavigation (uses actions MoveForward, TurnLeft, TurnRight)
    2. Add UndirectedNavigation (uses actions MoveUp, MoveDown, MoveLeft, MoveRight)
  3. Deprecate DirectionLessAgent
  4. Replace BitArray{3} with AbstractArray{Bool, 3} at several places.
  5. Cleanup Sokoban
  6. Cleanup rendering. No need of specialized Makie rendering for Sokoban
  7. Some minor changes and fixes
codecov-io commented 3 years ago

Codecov Report

Merging #116 (55cc267) into master (a31a234) will increase coverage by 0.37%. The diff coverage is 58.75%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #116      +/-   ##
==========================================
+ Coverage   79.71%   80.09%   +0.37%     
==========================================
  Files          17       17              
  Lines         848      864      +16     
==========================================
+ Hits          676      692      +16     
  Misses        172      172              
Impacted Files Coverage Δ
src/actions.jl 100.00% <ø> (ø)
src/directions.jl 100.00% <ø> (ø)
src/makie_rendering.jl 0.00% <0.00%> (ø)
src/objects.jl 35.71% <0.00%> (+0.83%) :arrow_up:
src/terminal_rendering.jl 0.00% <0.00%> (ø)
src/abstract_grid_world.jl 80.88% <47.82%> (+3.95%) :arrow_up:
src/envs/doorkey.jl 98.83% <50.00%> (-1.17%) :arrow_down:
src/grid_world_base.jl 91.66% <88.23%> (-3.46%) :arrow_down:
src/envs/sokoban/sokoban.jl 98.71% <95.00%> (-1.29%) :arrow_down:
src/envs/emptyroom.jl 100.00% <100.00%> (ø)
... and 2 more

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 a31a234...55cc267. Read the comment docs.