Papers
Topics
Authors
Recent
Search
2000 character limit reached

Efficient random sampling of binary and unary-binary trees via holonomic equations

Published 6 Jan 2014 in cs.DS and math.CO | (1401.1140v2)

Abstract: 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.

Citations (19)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.

Collections

Sign up for free to add this paper to one or more collections.