Add the injective mapping from Maze to ThickMaze #25
Labels
enhancement
New feature or request
maze
Part of the standard Maze library
thickmaze
Part of the ThickMaze sub-library
There is an injective mapping from a
Maze
of dimension(w, h)
to aThickMaze
of dimension(2w+1, 2h+1)
, and thus, everyMazeGenerator
implemented so far can be used to implement a subset ofThickMaze
, i.e. the one where wall segments always occur in contiguous odd numbers > 1.This mapping is invertible, so if a
ThickMaze
has the property that all wall segments occur in contiguous odd numbers > 1, we should be able to map it to a uniqueMaze
, but I'm not sure yet I'll bother to implement that mapping. See #26.The text was updated successfully, but these errors were encountered: