amaze.simu.types¶
Classes
|
Describes the type of input provided to the maze-navigating agent |
|
The various high-level classes of mazes |
|
The various metrics one can extract from a maze. |
|
Describes how the agent is moving around in the maze |
|
Describes which of the maze's corner to use as the starting position |
|
- class amaze.simu.types.InputType(value)[source]¶
Describes the type of input provided to the maze-navigating agent
- DISCRETE = 'DISCRETE'¶
Input is made of 8 pre-processed floats:
First walls and previous direction in direct order (EAST, NORTH, WEST, SOUTH)
Then signs (same order). Only one value will be above 0
See the readme for examples.
- CONTINUOUS = 'CONTINUOUS'¶
Input is a raw image representing the current cell, at a given resolution. Iteration order is
for y in range(v): for x in range(v):
where v is the agent retina size. See the readme for examples.
- class amaze.simu.types.OutputType(value)[source]¶
Describes how the agent is moving around in the maze
- DISCRETE = 'DISCRETE'¶
The agent moves from one cell to another
- CONTINUOUS = 'CONTINUOUS'¶
The agent controls its acceleration
- class amaze.simu.types.StartLocation(value)[source]¶
Describes which of the maze’s corner to use as the starting position
- class amaze.simu.types.MazeClass(value)[source]¶
The various high-level classes of mazes
- TRIVIAL = 0¶
A maze without intersections
- SIMPLE = 1¶
A maze with only clues
- LURES = 3¶
A maze with clues and lures (but no traps)
- TRAPS = 5¶
A maze with clues and traps (but no lures)
- COMPLEX = 7¶
A maze with clues, traps and lures
- INVALID = 255¶
An invalid maze type (e.g. one with intersections and no cues)
- class amaze.simu.types.MazeMetrics(value)[source]¶
The various metrics one can extract from a maze.
- SURPRISINGNESS = 1¶
The entropy of the mazes states, i.e. how likely to see different cells
- DECEPTIVENESS = 2¶
The entropy of the mazes similar states, i.e. how likely to see the same corridor/intersection with only the cue to differentiate them
- INSEPARABILITY = 4¶
The difference between signs (not implemented)
- ALL = 7¶
Shorthand