issues
search
JuliaReinforcementLearning
/
GridWorlds.jl
Help! I'm lost in the flatland!
MIT License
47
stars
9
forks
source link
Env indexing and cleanup
#103
Closed
Sid-Bhatia-0
closed
3 years ago
Sid-Bhatia-0
commented
3 years ago
Use the forward macro to allow indexing of the env objects.
Add the
rand
method for conditional position sampling that takes an env object as an argument.
Use
pos -> env[EMPTY, pos]
in
DynamicObstacles
to randomly find a new
goal_pos
.
Remove exporting of the name
switch!
. The method has already been removed.
rand
method for conditional position sampling that takes an env object as an argument.pos -> env[EMPTY, pos]
inDynamicObstacles
to randomly find a newgoal_pos
.switch!
. The method has already been removed.