ProV Logo
0

Efficient random sampling of binary and ...
Bacher, Axel...
Efficient random sampling of binary and unary-binary trees via holonomic equations by Bacher, Axel ( Author )
Australian National University
01-09-2023
We present a new uniform random sampler for binary trees with $n$ internal nodes consuming $2n + \Theta(\log(n)^2)$ random bits on average. This makes it quasi-optimal and out-performs the classical Remy algorithm. We also present a sampler for unary-binary trees with $n$ nodes taking $\Theta(n)$ random bits on average. Both are the first linear-time algorithms to be optimal up to a constant.
-
Article
pdf
29.34 KB
English
-
MYR 0.01
-
http://arxiv.org/abs/1401.1140
Share this eBook