Package kuimaze :: Module gym_wrapper :: Class InfEasyMaze
[hide private]
[frames] | no frames]

Class InfEasyMaze

source code

gym.Env --+        
          |        
    MazeEnv --+    
              |    
    EasyMazeEnv --+
                  |
                 InfEasyMaze

informed easy maze, suitable for A* implementation step([x, y])

Instance Methods [hide private]
 
__init__(self, map_image=None, grad=(0,0))
Class wrapping Maze into gym enviroment.
source code

Inherited from EasyMazeEnv: expand, set_path, step

Inherited from EasyMazeEnv (private): _easy_result, _get_cost, _is_available

Inherited from MazeEnv: close, get_all_states, render, reset, save_eps, save_path, seed, visualise

Class Variables [hide private]

Inherited from MazeEnv: MAP, metadata

Inherited from MazeEnv (private): _path, _visited

Method Details [hide private]

__init__(self, map_image=None, grad=(0,0))
(Constructor)

source code 

Class wrapping Maze into gym enviroment.

Parameters:
  • informed - boolean
  • gym_compatible - boolean - T = HardMaze, F = EasyMaze
  • deter - boolean - T = deterministic maze, F = probabilistic maze
  • map_image_dir - string - path to image of map
  • grad - tuple - vector tuning the tilt of maze`
Overrides: MazeEnv.__init__
(inherited documentation)