Efficient uniform generation of random derangements with the expected distribution of cycle lengths

09/12/2018
by   J. R. G. Mendonça, et al.
0

We show how to generate random derangements with the expected distribution of cycle lengths by two different techniques: random restricted transpositions and sequential importance sampling. The algorithms are simple to understand and implement and possess a performance comparable to or better than those of currently known methods. Our data suggest that the mixing time (in the total variance distance) of the algorithm based on random restricted transpositions is O(n^an^2) with a ≃1/2 and n the size of the derangement. For the sequential importance sampling algorithm we prove that it generates random derangements in O(n) time with a small probability O(1/n) of failing.

READ FULL TEXT
research
09/12/2018

On the uniform generation of random derangements

We show how to generate random derangements with the expected distributi...
research
07/16/2022

Adaptive Sketches for Robust Regression with Importance Sampling

We introduce data structures for solving robust regression through stoch...
research
03/23/2023

Relaxation-based importance sampling for structural reliability analysis

This study presents an importance sampling formulation based on adaptive...
research
04/18/2017

Stein Variational Adaptive Importance Sampling

We propose a novel adaptive importance sampling algorithm which incorpor...
research
04/05/2020

Random Sampling using k-vector

This work introduces two new techniques for random number generation wit...
research
07/05/2023

Privacy Amplification via Importance Sampling

We examine the privacy-enhancing properties of subsampling a data set vi...
research
09/13/2018

On equivalence of the LKJ distribution and the restricted Wishart distribution

In this paper, we want to show the Restricted Wishart distribution is eq...

Please sign up or login with your details

Forgot password? Click here to reset