A Stratification of the Hanoi Graph for 4 Pegs

نویسنده

  • ANDREW ZHANG
چکیده

For the Tower of Hanoi problem, it has been found that it is possible to construct a nice graph with legal states of the Tower of Hanoi as the vertices and legal moves between legal states as the edges between corresponding vertices. This “Hanoi graph” we denote by Hk n for k pegs and n disks. Our motivation is to describe the properties of this graph for k ≥ 4 and to describe a class of graphs called Stratified Hanoi graphs, appropriately denoted by SHk n, which will ultimately be useful in visualizing the FrameStewart algorithm. 1. Background Information In this article, we will follow the convention of [POOLE] to label vertices. Our motivation is to describe a class of graphs called Hanoi graphs, denoted by H n for k pegs and n disks, and to ultimately describe Stratified Hanoi graphs, appropriately denoted by SH n for k pegs and n disks. In order to do that, in this section we will introduce some notation and definitions that we will use throughout this article. Definition 1.1. A legal state is a configuration of n disks on the k pegs in which each disk is either on top of a larger disk or on an empty peg. Let us label the pegs 0, 1, · · · , k − 1 and the disks from smallest to largest 0, 1, · · · , n−1. We label each legal state with an n-bit k-ary string an−1an−2...a0 where ai ∈ {0, 1, · · · , k − 1} and ai = j if disk i lies on peg j. It is not difficult to see how this labeling is useful, because each string corresponds to a unique legal state. In this article, we will denote the vertex set of a graph G by V (G) and the edge set of G by E(G). Definition 1.2. A legal move from one legal state to another legal state is achieved by moving exactly one disk from one peg to another peg under the following rules. (1) A disk can be moved onto a larger disk. (2) A disk can be moved onto an empty peg. (3) A disk cannot be moved onto a smaller disk. Definition 1.3. Let k,n be positive integers. We define H n as a graph such that V (H n) is the set of vertices each labeled by an n-bit k-ary string which corresponds to a unique legal state, and E(H n) is the set of edges each of which can only exist between two vertices if there exists a legal move between their corresponding legal states. We can see that |V (H n)| = k. Date: July 31, 2008.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Schreier Spectrum of the Hanoi Towers Group on Three Pegs

Finite dimensional representations of the Hanoi Towers group are used to calculate the spectra of the finite graphs associated to the Hanoi Towers Game on three pegs (the group serves as a renorm group for the game). These graphs are Schreier graphs of the action of the Hanoi Towers group on the levels of the rooted ternary tree. The spectrum of the limiting graph (Schreir graph of the action o...

متن کامل

Exponential vs. Subexponential Tower of Hanoi Variants

We deal here with Tower of Hanoi variants played on digraphs. A major source for such variants is achieved by adding pegs and/or restricting direct moves between certain pairs of pegs. It is natural to represent a variant of this kind by a directed graph whose vertices are the pegs, and an arc from one vertex to another indicates that it is allowed to move a disk from the former peg to the latt...

متن کامل

Twin Towers of Hanoi

In the Twin Towers of Hanoi version of the well known Towers of Hanoi Problem there are two coupled sets of pegs. In each move, one chooses a pair of pegs in one of the sets and performs the only possible legal transfer of a disk between the chosen pegs (the smallest disk from one of the pegs is moved to the other peg), but also, simultaneously, between the corresponding pair of pegs in the cou...

متن کامل

Complexity of the Path Multi-Peg Tower of Hanoi

The Tower of Hanoi problem with h ≥ 4 pegs is long known to require a sub-exponential number of moves in order to transfer a pile of n disks from one peg to another. In this paper we discuss the Pathh variant, where the pegs are placed along a line, and disks can be moved from a peg to its nearest neighbor(s) only. Whereas in the simple variant there are h(h − 1)/2 bi-directional interconnectio...

متن کامل

A New Lower Bound for the Towers of Hanoi Problem

More than a century after its proposal, the Towers of Hanoi puzzle with 4 pegs was solved by Thierry Bousch in a breakthrough paper in 2014. The general problem with p pegs is still open, with the best lower bound on the minimum number of moves due to Chen and Shen. We use some of Bousch’s new ideas to obtain an asymptotic improvement on this bound for all p > 5.

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2009