中文
相关论文

相关论文: A Simple In-Place Algorithm for In-Shuffle

200 篇论文

We show that any permutation of ${1,2,...,N}$ can be written as the product of two involutions. As a consequence, any permutation of the elements of an array can be performed in-place in parallel in time O(1). In the case where the…

数据结构与算法 · 计算机科学 2015-03-20 Qingxuan Yang , John Ellis , Khalegh Mamakani , Frank Ruskey

We show that simple modifications to van der Hoeven's forward and inverse truncated Fourier transforms allow the algorithms to be performed in-place, and with only a linear overhead in complexity.

计算复杂性 · 计算机科学 2021-01-25 Nicholas Coxon

This article introduces an algorithm, MergeShuffle, which is an extremely efficient algorithm to generate random permutations (or to randomly permute an existing array). It is easy to implement, runs in $n\log_2 n + O(1)$ time, is in-place,…

数据结构与算法 · 计算机科学 2015-08-14 Axel Bacher , Olivier Bodini , Alexandros Hollender , Jérémie Lumbroso

Many parallel algorithms which solve basic problems in computer science use auxiliary space linear in the input to facilitate conflict-free computation. There has been significant work on improving these parallel algorithms to be in-place,…

数据结构与算法 · 计算机科学 2025-03-11 Chase Hutton , Adam Melrod

In this paper, we present several improvements in the parallelization of the in-place merge algorithm, which merges two contiguous sorted arrays into one with an O(T) space complexity (where T is the number of threads). The approach divides…

分布式、并行与集群计算 · 计算机科学 2020-05-27 Berenger Bramas , Quentin Bramas

We reconsider a recently published algorithm (Dalkilic et al.) for merging lists by way of the perfect shuffle. The original publication gave only experimental results which, although consistent with linear execution time on the samples…

数据结构与算法 · 计算机科学 2015-08-04 John Ellis , Ulrike Stege

In this work we present a new simple but efficient scheme - Subsquares approach - for development of algorithms for enclosing the solution set of overdetermined interval linear systems. We are going to show two algorithms based on this…

数值分析 · 计算机科学 2013-05-07 Jaroslav Horáček , Milan Hladík

We introduce a simple, rank-based algorithm for inverting the sweep map on (2n,n)-Dyck paths.

组合数学 · 数学 2016-04-12 Erin Milne

We correct a paper previously submitted to CoRR. That paper claimed that the algorithm there described was provably of linear time complexity in the average case. The alleged proof of that statement contained an error, being based on an…

数据结构与算法 · 计算机科学 2020-04-07 John Ellis , Ulrike Stege

In this paper we make a step towards a time and space efficient algorithm for the hidden shift problem for groups of the form $\mathbb{Z}_k^n$. We give a solution to the case when $k$ is a power of 2, which has polynomial running time in…

量子物理 · 物理学 2021-02-09 Gergely Csáji

We assume the permutation $\pi$ is given by an $n$-element array in which the $i$-th element denotes the value $\pi(i)$. Constructing its inverse in-place (i.e. using $O(\log{n})$ bits of additional memory) can be achieved in linear time…

数据结构与算法 · 计算机科学 2020-04-22 Grzegorz Guśpiel

Shuffling is the process of rearranging a sequence of elements into a random order such that any permutation occurs with equal probability. It is an important building block in a plethora of techniques used in virtually all scientific…

数据结构与算法 · 计算机科学 2023-02-08 Manuel Penschuck

In this paper we present a random shuffling scheme to apply with adaptive sorting algorithms. Adaptive sorting algorithms utilize the presortedness present in a given sequence. We have probabilistically increased the amount of presortedness…

数据结构与算法 · 计算机科学 2016-08-31 Md. Enamul Karim , Abdun Naser Mahmood

A simple algorithm for the inverse scattering approach to the Camassa-Holm equation is presented.

数学物理 · 物理学 2007-05-23 Adrian Constantin , Jonatan Lenells

Matching is a method of the design of experiments. If we had an even number of patients and wanted to form pairs of patients such that their ages, for example, in each pair be as close as possible, we would use nonbipartite matching. Not…

组合数学 · 数学 2018-05-02 Josef Bukac

The pattern matching problem with swaps is to find all occurrences of a pattern in a text while allowing the pattern to swap adjacent symbols. The goal is to design fast matching algorithm that takes advantage of the bit parallelism of…

数据结构与算法 · 计算机科学 2018-09-26 Václav Blažej , Ondřej Suchý , Tomáš Valla

In this paper, we introduce certain new features of the shuffle algebra, that will allow us to obtain explicit formulas for the isomorphism between its Drinfeld double and the elliptic Hall algebra.

量子代数 · 数学 2014-01-28 Andrei Negut

We introduce a new type of card shuffle called one-sided transpositions. At each step a card is chosen uniformly from the pack and then transposed with another card chosen uniformly from below it. This defines a random walk on the symmetric…

概率论 · 数学 2020-06-23 Michael E. Bate , Stephen B. Connor , Oliver Matheau-Raven

We revisit the problem of permuting an array of length $n$ according to a given permutation in place, that is, using only a small number of bits of extra storage. Fich, Munro and Poblete [FOCS 1990, SICOMP 1995] obtained an elegant…

数据结构与算法 · 计算机科学 2021-01-12 Bartłomiej Dudek , Paweł Gawrychowski , Karol Pokorski

We study mixing times of the one-sided $k$-transposition shuffle. We prove that this shuffle mixes relatively slowly, even for $k$ big. Using the recent "lifting eigenvectors" technique of Dieker and Saliola and applying the $\ell^2$ bound,…

概率论 · 数学 2021-12-10 Evita Nestoridi , Kenny Peng
‹ 上一页 1 2 3 10 下一页 ›