Main Article Content

Joint distributions for movements of elements in Sattolo\'s and the Fisher-yates algorithm


Guy Louchard
Helmut Prodinger
Stephan Wagner

Abstract

Sattolo\'s algorithm creates a random cyclic permutation by interchanging pairs of elements in an appropriate manner; the Fisher-Yates algorithm produces random (not necessarily cyclic) permutations in a very similar way. The distributions of the movements of the elements in these two algorithms have already been treated quite extensively in past works. In this paper, we are interested in the joint distribution of two elements j and k; we are able to compute the bivariate generating functions explicitly, although it is quite involved. From it, moments and limiting distributions can be deduced. Furthermore, we compute the probability that elements i and j ever change places in both algorithms.

Keywords: Sattolo\'s algorithm, Fisher-Yates algorithm, movements, joint distribution

Quaestiones Mathematicae 31(2008), 307–344

Journal Identifiers


eISSN: 1727-933X
print ISSN: 1607-3606