|
__init__(self,
informed,
gym_compatible,
deter,
map_image_dir=None,
grad=(0,0),
node_rewards=None)
Class wrapping Maze into gym enviroment. |
source code
|
|
|
|
|
get_all_states(self)
auxiliary function for MDPs - where states (map) are supposed to be
known :return: list of states |
source code
|
|
|
|
|
render(self,
mode='human',
close=False,
visited=None,
explored=None) |
source code
|
|
|
|
|
|
|
save_path(self)
Method for saving path of the agent into the file named
'saved_path.txt' into the directory where was the script runned from. |
source code
|
|
|
save_eps(self)
Save last rendered image into directory where the script was runned
from. |
source code
|
|
|
|
|
|
|
|
|
|
|
|
|
|