Skip to content
Research Article Open access CC BY 3.0

Picture Maze Generation by Successive Insertion of Path Segment

Tomio Kurokawa

Journal of Advances in Mathematics and Computer Science · pp. 3444–3463 · Published 6 Oct 2014

10.9734/BJMCS/2014/12048

Abstract

Picture maze is a maze on which some picture appears when it is solved. This paper aims to present a very simple method to construct a picture maze. It is always possible to construct a spanning tree on a connected region of a binary picture. A spanning tree connects all vertices on the region. A 2-by-2 extended picture of a connected picture is the one such that each cell in the picture is transformed to four cells which constitute a square block with the cells. Then by analogy, it is always possible to construct a block spanning tree on the extended picture region, where a block is the square unit of four cells. Construction of the block spanning tree and the generation of the corresponding Hamiltonian path can be done at the same time. The Hamiltonian path is constructed along a data structure of a linked list in a simple manner. It traverses every cell on the 2-by-2 extended picture. The similar procedure but with the smaller block with two vertices, instead of four, can be applied to a non-extended picture, an ordinary one, which produces a near Hamiltonian path, which can then be a maze solution path. The near Hamiltonian path traverses nearly all the vertices on the picture, hence depicting a picture on the maze when it is solved. This paper demonstrates the method and its efficiency.

Maze Picture maze Spanning tree Block spanning tree Path extension Hamiltonian path

Cited by 1

A genetic algorithm for the picture maze generation problem

Yuichi Nagata, Akinori Imamiya, Norihiko Ono · Computers & Operations Research · 2020

Article metrics

Real usage data collected on this platform.

4

Page views

0

PDF downloads

0

Outbound clicks

1

Citations

Views over time

Views by country

Approximate, from request IP at view time — not citizenship or institution. Countries with fewer than 5 views are grouped as "Other".

Traffic sources

Referring site, by host.

Views and downloads exclude known bots/crawlers. Citations combines this platform's own DOI-resolved index with each external source's own reported total — see Cited by above for individually listed citing works. Last refreshed 0 seconds ago.