Sorting permutations using a pop stack with a bypass

📅 2025-03-11
📈 Citations: 0
Influential: 0
📄 PDF

career value

189K/year
🤖 AI Summary
This paper investigates the sorting power of pop-stacks augmented with a bypass mechanism, extending beyond classical PopStackSort. We introduce the first pop-stack-with-bypass model, characterize its sortable permutations via forbidden patterns, and provide a bijective enumeration by linking them to restricted Motzkin paths. Using combinatorial constructions and recursive preimage enumeration, we systematically describe the preimage structure and fully characterize preimages of principal-class permutations. We further generalize the model to a parallel double-pop-stack architecture. Our main contributions are: (1) a necessary and sufficient condition for sortability; (2) an efficient algorithm to compute all preimages of any given permutation; (3) the first complete structural description of preimages for principal-class permutations; and (4) a rigorous theoretical demonstration that the bypass mechanism strictly enhances sorting capacity.

Technology Category

Application Category

📝 Abstract
We introduce a new sorting device for permutations which makes use of a pop stack augmented with a bypass operation. This results in a sorting machine, which is more powerful than the usual Popstacksort algorithm and seems to have never been investigated previously. In the present paper, we give a characterization of sortable permutations in terms of forbidden patterns and reinterpret the resulting enumerating sequence using a class of restricted Motzkin paths. Moreover, we describe an algorithm to compute the set of all preimages of a given permutation, thanks to which we characterize permutations having a small number of preimages. Finally, we provide a full description of the preimages of principal classes of permutations, and we discuss the device consisting of two pop stacks in parallel, again with a bypass operation.
Problem

Research questions and friction points this paper is trying to address.

Introduces a new permutation sorting device using a pop stack with bypass.
Characterizes sortable permutations via forbidden patterns and Motzkin paths.
Describes an algorithm to compute preimages and analyzes permutation classes.
Innovation

Methods, ideas, or system contributions that make the work stand out.

Pop stack augmented with bypass operation
Characterization using forbidden patterns
Algorithm for computing permutation preimages
🔎 Similar Papers
No similar papers found.