Pancake graph

From testwiki
Jump to navigation Jump to search

Template:Use mdy dates Template:Infobox graph In the mathematical field of graph theory, the pancake graph Pn or n-pancake graph is a graph whose vertices are the permutations of n symbols from 1 to n and its edges are given between permutations transitive by prefix reversals.

Pancake sorting is the colloquial term for the mathematical problem of sorting a disordered stack of pancakes in order of size when a spatula can be inserted at any point in the stack and used to flip all pancakes above it. A pancake number is the minimum number of flips required for a given number of pancakes. Obtaining the pancake number is equivalent to the problem of obtaining the diameter of the pancake graph.[1]

The pancake graph of dimension n, Pn, is a regular graph with n! vertices. Its degree is n − 1, hence, according to the handshaking lemma, it has 12n!(n1) edges. Pn can be constructed recursively from n copies of Pn−1, by assigning a different element from the set {1, 2, …, n} as a suffix to each copy.

Results

Pn (n ≥ 4) is super-connected and hyper-connected.[2]

Their girth is[3]

g(Pn)=6, if n>2.

The γ(Pn) genus of Pn is bounded below and above by:[4] [5]

n!(n46)+1γ(Pn)n!(3n1012)+1.

Chromatic properties

There are some known graph coloring properties of pancake graphs.

A Pn (n ≥ 3) pancake graph has total chromatic number χt(Pn)=n, chromatic index χe(Pn)=n1.[6]

There are effective algorithms for the proper (n−1)-coloring and total n-coloring of pancake graphs.[6]

For the χ(Pn) chromatic number the following limits are known:

If 4n8, then

χ(Pn){nk,if nk(mod4),k=1,3;n2,if nk(mod4),k=0,2;

if 9n16, then

χ(Pn){n(k+2),if nk(mod4),k=1,3;n4,if nk(mod4),k=0,2;

if n17, then

χ(Pn){n(k+4),if nk(mod4),k=1,2,3;n8,if nk(mod4),k=0.

The following table discusses specific chromatic number values for some small n.

Specific, or probable values of the chromatic number
n 3 4 5 6 7 8 9 10 11 12 13 14 15 16
χ(Pn) 2 3 3 4 4 4? 4? 4? 4? 4? 4? 4? 4? 4?

Cycle enumeration

In a Pn (n ≥ 3) pancake graph there is always at least one cycle of length , when 6n! (but there are no cycles of length 3, 4 or 5).[7] It implies that the graph is Hamiltonian and any two vertices can be joined by a Hamiltonian path.

About the 6-cycles of the Pn (n ≥ 4) pancake graph: every vertex belongs to exactly one 6-cycle. The graph contains n!6 independent (vertex-disjoint) 6-cycles.[8]

About the 7-cycles of the Pn (n ≥ 4) pancake graph: every vertex belongs to 7(n3) 7-cycles. The graph contains n!(n3) different 7-cycles.[9]

About the 8-cycles of the Pn (n ≥ 4) pancake graph: the graph contains n!(n3+12n2103n+176)16 different 8-cycles; a maximal set of independent 8-cycles contains n!8 of those.[8]

Diameter

The pancake sorting problem (obtaining the pancake number) and obtaining the diameter of the pancake graph are equivalents. One of the main difficulties in solving this problem is the complicated cycle structure of the pancake graph.

Pancake numbers
Template:OEIS
n 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
Pn 0 1 3 4 5 7 8 9 10 11 13 14 15 16 17 18 19

The pancake number, which is the minimum number of flips required to sort any stack of Template:Math pancakes has been shown to lie between Template:Math and Template:Math (approximately 1.07n and 1.64n,) but the exact value remains an open problem.[10]

In 1979, Bill Gates and Christos Papadimitriou[11] gave an upper bound of Template:Math. This was improved, thirty years later, to Template:Math by a team of researchers at the University of Texas at Dallas, led by Founders Professor Hal Sudborough[12] (Chitturi et al., 2009[13]).

In 2011, Laurent Bulteau, Guillaume Fertin, and Irena Rusu[14] proved that the problem of finding the shortest sequence of flips for a given stack of pancakes is NP-hard, thereby answering a question that had been open for over three decades.

Burnt pancake graph

In a variation called the burnt pancake problem, the bottom of each pancake in the pile is burnt, and the sort must be completed with the burnt side of every pancake down. It is a signed permutation, and if a pancake i is "burnt side up" a negative element i` is put in place of i in the permutation. The burnt pancake graph is the graph representation of this problem.

A P'n burnt pancake graph is regular, its order is 2nn!, its degree is n.

For its variant David S. Cohen (best known by his pen name "David X. Cohen") and Manuel Blum proved in 1995, that 3n/2P'n2n2 (when the upper limit is only true if n>9).[15]

Burnt pancake numbers
Template:OEIS
n 1 2 3 4 5 6 7 8 9 10 11 12
P'n 1 4 6 8 10 12 14 15 17 18 19 21

The girth of a burnt pancake graph is:[3]

g(Pn)=8, if n>2.

Other classes of pancake graphs

Both in the original pancake sorting problem and the burnt pancake problem, prefix reversal was the operation connecting two permutations. If we allow non-prefixed reversals (as if we were flipping with two spatulas instead of one) then four classes of pancake graphs can be defined. Every pancake graph embeds in all higher-order pancake graphs of the same family.[3]

Classes of pancake graphs
Name Notation Explanation Order Degree Girth (if n>2)
unsigned prefix reversal graph UPn The original pancake sorting problem n! n1 6
unsigned reversal graph URn The original problem with two spatulas n! (n2) 4
signed prefix reversal graph SPn The burnt pancake problem 2nn! n 8
signed reversal graph SRn The burnt pancake problem with two spatulas 2nn! (n+12) 4

Applications

Since pancake graphs have many interesting properties such as symmetric and recursive structures (they are Cayley graphs, thus are vertex-transitive), sublogarithmic degree and diameter, and are relatively sparse (compared to e.g. hypercubes), much attention is paid to them as a model of interconnection networks for parallel computers.[4][16][17][18] When we regard the pancake graphs as the model of the interconnection networks, the diameter of the graph is a measure that represents the delay of communication.[19][20]

Pancake flipping has biological applications as well, in the field of genetic examinations. In one kind of large-scale mutations, a large segment of the genome gets reversed, which is analogous to the burnt pancake problem.

References

Template:Reflist

  1. Template:Cite conference
  2. Template:Cite journal
  3. 3.0 3.1 3.2 Template:Cite journal
  4. 4.0 4.1 Template:Cite journal
  5. Template:Cite arXiv
  6. 6.0 6.1 Template:Cite journal
  7. Template:Cite journal
  8. 8.0 8.1 Template:Cite journal
  9. Template:Cite journal
  10. Template:Cite book
  11. Template:Cite journal
  12. Template:Cite web
  13. Template:Cite journal
  14. Template:Cite journal
  15. David S. Cohen, Manuel Blum: On the problem of sorting burnt pancakes. In: Discrete Applied Mathematics. 61, Nr. 2, 1995, S. 105–120. DOI:10.1016/0166-218X(94)00009-3.
  16. Template:Cite journal
  17. Template:Cite journal
  18. Template:Cite journal
  19. Kumar, V., Grama, A., Gupta, A., Karypis, G.: Introduction to Parallel Computing: Design and Analysis of Algorithms. Benjamin/Cummings (1994)
  20. Quinn, M.J.: Parallel Computing: Theory and Practice, second edition. McGraw Hill (1994)