JuliaReinforcementLearning / GridWorlds.jl

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

Add support for actions #40

Closed Sid-Bhatia-0 closed 3 years ago

Sid-Bhatia-0 commented 3 years ago
  1. Creating an abstract type AbstractGridWorldAction for actions.
  2. Adding a default implementation for get_actions that can be extended by specific environments.
  3. Fixed variable name from dir to action since TURN_LEFT and TURN_RIGHT are actions.
codecov-io commented 3 years ago

Codecov Report

Merging #40 into master will decrease coverage by 0.12%. The diff coverage is 50.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #40      +/-   ##
==========================================
- Coverage   37.67%   37.54%   -0.13%     
==========================================
  Files          13       13              
  Lines         292      293       +1     
==========================================
  Hits          110      110              
- Misses        182      183       +1     
Impacted Files Coverage Δ
src/actions.jl 100.00% <ø> (ø)
src/abstract_grid_world.jl 77.77% <50.00%> (-4.58%) :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 1ae5901...f3f636e. Read the comment docs.

findmyway commented 3 years ago

Well done!