Home | Trees | Indices | Help |
|
---|
|
Main part of kuimaze - framework for working with mazes. Contains class Maze (capable of displaying it) and couple helper classes
Author: Otakar Jašek, Tomas Svoboda
Contact: jasekota(at)fel.cvut.cz, svobodat@fel.cvut.cz
Copyright: (c) 2017, 2018
|
|||
SHOW Enum class used for storing what is displayed in GUI - everything higher includes everything lower (except NONE, of course). |
|||
ACTION Enum class to represent actions in a grid-world. |
|||
ProbsRoulette Class for probabilistic maze - implements roulette wheel with intervals |
|||
ActionProbsTable | |||
Maze Maze class takes care of GUI and interaction functions. |
|
|||
fw_orig = warnings.formatwarning
|
|||
weighted_state = collections.namedtuple('State', ['x', 'y', 'r
|
|||
state = collections.namedtuple('State', ['x', 'y'])
|
|||
path_section = collections.namedtuple('Path', ['state_from', '
|
|||
MAX_CELL_SIZE = 200
|
|||
MAX_WINDOW_PERCENTAGE = 0.85
|
|||
BORDER_SIZE = 0
|
|||
LINE_SIZE_PERCENTAGE = 0.02
|
|||
DRAW_LABELS = True
|
|||
LINE_COLOR = "#FFF555333"
|
|||
WALL_COLOR = "#000000000"
|
|||
EMPTY_COLOR = "#FFFFFFFFF"
|
|||
EXPLORED_COLOR = "#000BBB000"
|
|||
SEEN_COLOR = "#BBBFFFBBB"
|
|||
START_COLOR = "#000000FFF"
|
|||
FINISH_COLOR = "#000FFFFFF"
|
|||
DANGER_COLOR = "#FFF000000"
|
|||
FONT_FAMILY = "Helvetica"
|
|||
FONT_SIZE = round(12* MAX_CELL_SIZE/ 50)
|
|||
REWARD_NORMAL = -0.04
|
|||
REWARD_DANGER = -1
|
|||
REWARD_GOAL = 1
|
|
weighted_state
|
path_section
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Feb 18 18:25:59 2019 | http://epydoc.sourceforge.net |