1,334 research outputs found
Pancake Flipping is Hard
Pancake Flipping is the problem of sorting a stack of pancakes of different
sizes (that is, a permutation), when the only allowed operation is to insert a
spatula anywhere in the stack and to flip the pancakes above it (that is, to
perform a prefix reversal). In the burnt variant, one side of each pancake is
marked as burnt, and it is required to finish with all pancakes having the
burnt side down. Computing the optimal scenario for any stack of pancakes and
determining the worst-case stack for any stack size have been challenges over
more than three decades. Beyond being an intriguing combinatorial problem in
itself, it also yields applications, e.g. in parallel computing and
computational biology. In this paper, we show that the Pancake Flipping
problem, in its original (unburnt) variant, is NP-hard, thus answering the
long-standing question of its computational complexity.Comment: Corrected reference
Polynomial-time sortable stacks of burnt pancakes
Pancake flipping, a famous open problem in computer science, can be
formalised as the problem of sorting a permutation of positive integers using
as few prefix reversals as possible. In that context, a prefix reversal of
length k reverses the order of the first k elements of the permutation. The
burnt variant of pancake flipping involves permutations of signed integers, and
reversals in that case not only reverse the order of elements but also invert
their signs. Although three decades have now passed since the first works on
these problems, neither their computational complexity nor the maximal number
of prefix reversals needed to sort a permutation is yet known. In this work, we
prove a new lower bound for sorting burnt pancakes, and show that an important
class of permutations, known as "simple permutations", can be optimally sorted
in polynomial time.Comment: Accepted pending minor revisio
On the number of pancake stacks requiring four flips to be sorted
Using existing classification results for the 7- and 8-cycles in the pancake
graph, we determine the number of permutations that require 4 pancake flips
(prefix reversals) to be sorted. A similar characterization of the 8-cycles in
the burnt pancake graph, due to the authors, is used to derive a formula for
the number of signed permutations requiring 4 (burnt) pancake flips to be
sorted. We furthermore provide an analogous characterization of the 9-cycles in
the burnt pancake graph. Finally we present numerical evidence that polynomial
formulae exist giving the number of signed permutations that require flips
to be sorted, with .Comment: We have finalized for the paper for publication in DMTCS, updated a
reference to its published version, moved the abstract to its proper
location, and added a thank you to the referees. The paper has 27 pages, 6
figures, and 2 table
Cycles in the burnt pancake graphs
The pancake graph is the Cayley graph of the symmetric group on
elements generated by prefix reversals. has been shown to have
properties that makes it a useful network scheme for parallel processors. For
example, it is -regular, vertex-transitive, and one can embed cycles in
it of length with . The burnt pancake graph ,
which is the Cayley graph of the group of signed permutations using
prefix reversals as generators, has similar properties. Indeed, is
-regular and vertex-transitive. In this paper, we show that has every
cycle of length with . The proof given is a
constructive one that utilizes the recursive structure of . We also
present a complete characterization of all the -cycles in for , which are the smallest cycles embeddable in , by presenting their
canonical forms as products of the prefix reversal generators.Comment: Added a reference, clarified some definitions, fixed some typos. 42
pages, 9 figures, 20 pages of appendice
A “Learning Revolution”? Investigating Pedagogic Practices around Interactive Whiteboards in British Primary Classrooms
Interactive whiteboards have been rapidly introduced into all primary schools under UK Government initiatives. These large, touch-sensitive screens, which control a computer connected to a digital projector, seem to be the first type of educational technology particularly suited for whole-class teaching and learning. Strong claims are made for their value by manufacturers and policy makers, but there has been little research on how, if at all, they influence established pedagogic practices, communicative processes and educational goals. This study has been designed to examine this issue, using observations in primary (elementary) school classrooms. It is funded by the UK Economic and Social Research Council and builds on the authors’ previous research on ICT in educational dialogues and collaborative activities
- …