中文
相关论文

相关论文: The Basis of Foot-Sortable Sock Orderings

200 篇论文

A sock ordering is a sequence of socks with different colors. A sock ordering is foot-sortable if the sequence of socks can be sorted by a stack so that socks with the same color form a contiguous block. The problem of deciding whether a…

组合数学 · 数学 2023-12-25 Hung-Hsun Hans Yu

If your socks come out of the laundry all mixed up, how should you sort them? We introduce and study a novel foot-sorting algorithm that uses feet to attempt to sort a sock ordering; one can view this algorithm as an analogue of Knuth's…

组合数学 · 数学 2024-07-02 Colin Defant , Noah Kravitz

A sock sequence is a sequence of elements, which we will refer to as socks, from a finite alphabet. A sock sequence is sorted if all occurrences of a sock appear consecutively. We define equivalence classes of sock sequences called sock…

组合数学 · 数学 2023-09-27 Janabel Xia

Let a sock be an element of an ordered finite alphabet A and a sequence of these elements be a sock sequence. In 2023, Xia introduced a deterministic version of Defant and Kravitz's stack-sorting map by defining the $\phi_{\sigma}$ and…

组合数学 · 数学 2024-08-13 Samanyu Ganesh , Lanxuan Xia , Bole Ying

We introduce a sorting machine consisting of $k+1$ stacks in series: the first $k$ stacks can only contain elements in decreasing order from top to bottom, while the last one has the opposite restriction. This device generalizes \cite{SM},…

数据结构与算法 · 计算机科学 2019-10-10 Giulio Cerbai , Lapo Cioni , Luca Ferrari

A fork stack is a generalised stack which allows pushes and pops of several items at a time. We consider the problem of determining which input streams can be sorted using a single forkstack, or dually, which permutations of a fixed input…

离散数学 · 计算机科学 2007-05-23 M. H. Albert , M. D. Atkinson

Let $M$ be an ordered matching of size $n$, that is, a partition of the set $[2n]$ into 2-element subsets. The sock number of $M$ is the maximum size of a sub-matching of $M$ in which all left-ends of the edges precede all the right-ends…

组合数学 · 数学 2024-05-24 Andrzej Dudek , Jarosław Grytczuk , Andrzej Ruciński

Suppose $n$ different pairs of socks are put in a tumble dryer. When the dryer is finished socks are taken out one by one, if a sock matches one of the socks on the sorting table both are removed, otherwise it is put on the table until its…

概率论 · 数学 2020-09-18 Simon Korbel , Peter Mörters

This short note deals with the so-called $ Sock \; Matching \; Problem$. We define $B_{n,k}$ as the number of all the finite sequences $a_1, \ldots, a_{2n}$ of nonnegative integers which contain at least one occurrence of $k$ $(1 \leq k…

组合数学 · 数学 2021-11-05 Bojana Pantić , Olga Bodroža-Pantić

Defant, Engen, and Miller defined a permutation to be uniquely sorted if it has exactly one preimage under West's stack-sorting map. We enumerate classes of uniquely sorted permutations that avoid a pattern of length three and a pattern of…

组合数学 · 数学 2023-06-22 Hanna Mularczyk

In this article, we give a polynomial algorithm to decide whether a given permutation $\sigma$ is sortable with two stacks in series. This is indeed a longstanding open problem which was first introduced by Knuth. He introduced the stack…

组合数学 · 数学 2013-04-11 Adeline Pierrot , Dominique Rossin

We study a sorting machine consisting of two stacks in series where the first stack has the added restriction such that entries in the stack must be in decreasing order from top to bottom. We give the basis of the class of permutations that…

组合数学 · 数学 2013-01-30 Rebecca Smith

We consider the problem of sorting elements on a series of stacks, introduced by Tarjan and Knuth. We improve the asymptotic lower bound for the number of stacks necessary to sort $n$ elements to $0.561 \log_2 n + O(1)$. This is the first…

离散数学 · 计算机科学 2012-12-05 Luke Schaeffer

In a totally ordered set the notion of sorting a finite sequence is defined through a suitable permutation of the sequence's indices. In this paper we prove a simple formula that explicitly describes how the elements of a sequence are…

离散数学 · 计算机科学 2013-06-03 Jens Gerlach

Given a collection of red and blue mobile agents located on two grid rows, we seek to move all the blue agents to the far left side and all the red agents to the far right side, thus \textit{physically sorting} them according to color. The…

离散数学 · 计算机科学 2022-09-08 Dmitry Rabinovich , Michael Amir , Alfred M. Bruckstein

Suppose one desires to randomly sample a pair of objects such as socks, hoping to get a matching pair. Even in the simplest situation for sampling, which is sampling with replacement, the innocent phrase "the distribution of the color of a…

概率论 · 数学 2013-06-04 Richard Arratia , Stephen DeSalvo

This paper addresses the anytime sorting problem, aiming to develop algorithms providing tentative estimates of the sorted list at each execution step. Comparisons are treated as steps, and the Spearman's footrule metric evaluates…

数据结构与算法 · 计算机科学 2024-05-15 Emma Caizergues , François Durand , Fabien Mathieu

Let $s$ be West's deterministic stack-sorting map. A well-known result (West) is that any length $n$ permutation can be sorted with $n-1$ iterations of $s.$ In 2020, Defant introduced the notion of highly-sorted permutations -- permutations…

组合数学 · 数学 2024-05-06 Owen Zhang

The (classical) problem of characterizing and enumerating permutations that can be sorted using two stacks connected in series is still largely open. In the present paper we address a related problem, in which we impose restrictions both on…

数据结构与算法 · 计算机科学 2019-07-19 Giulio Cerbai , Anders Claesson , Luca Ferrari

We explore the fundamental problem of sorting through the lens of learning-augmented algorithms, where algorithms can leverage possibly erroneous predictions to improve their efficiency. We consider two different settings: In the first…

数据结构与算法 · 计算机科学 2023-11-03 Xingjian Bai , Christian Coester
‹ 上一页 1 2 3 10 下一页 ›