Home | Trees | Indices | Help |
|
---|
|
gym.Env --+ | MazeEnv
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|
|||
metadata = {'render.modes': ['human']}
|
|||
_path = []
|
|||
_visited = []
|
|||
MAP = '../maps/easy/easy3.bmp'
|
|
Class wrapping Maze into gym enviroment.
|
Method for saving path of the agent into the file named 'saved_path.txt' into the directory where was the script runned from.
|
Save last rendered image into directory where the script was runned from.
|
Visualise input. If visualise is called before GUI opening, render() is called first
|
method to generate observation - current state, finish states
|
method to get action space - all available actions in enviroment
|
returns reward and indication of goal state
|
Get depth (z coordinate) of state based on gradient. Start state of map has depth 0.
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Wed Feb 21 17:13:20 2018 | http://epydoc.sourceforge.net |