-
arXiv:1401.1140 [pdf, ps, other]
Efficient random sampling of binary and unary-binary trees via holonomic equations
Abstract: We present a new uniform random sampler for binary trees with $n$ internal nodes consuming $2n + Θ(\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 $Θ(n)$ random bits on average. Both are the first linear-time algorithms to be optimal up to a constant.
Submitted 7 January, 2014; v1 submitted 6 January, 2014; originally announced January 2014.
-
arXiv:1306.2108 [pdf, ps, other]
Asymptotic Analysis and Random Sampling of Digitally Convex Polyominoes
Abstract: Recent work of Brlek \textit{et al.} gives a characterization of digitally convex polyominoes using combinatorics on words. From this work, we derive a combinatorial symbolic description of digitally convex polyominoes and use it to analyze their limit properties and build a uniform sampler. Experimentally, our sampler shows a limit shape for large digitally convex polyominoes.
Submitted 10 June, 2013; originally announced June 2013.
Journal ref: Discrete Applied Mathematics (2013) 1-23
-
arXiv:1305.0640 [pdf, ps, other]
Enumeration of generalized $BCI$ lambda-terms
Abstract: We investigate the asymptotic number of elements of size $n$ in a particular class of closed lambda-terms (so-called $BCI(p)$-terms) which are related to axiom systems of combinatory logic. By deriving a differential equation for the generating function of the counting sequence we obtain a recurrence relation which can be solved asymptotically. We derive differential equations for the generating f… ▽ More
Submitted 3 May, 2013; originally announced May 2013.
Comments: 17 pages, 5 figures
MSC Class: 05A16; 03B40
-
arXiv:0911.2802 [pdf, ps, other]
Boltzmann Samplers for v-balanced Colored Necklaces
Abstract: This paper is devoted to the random generation of particular colored necklaces for which the number of beads of a given color is constrained (these necklaces are called v-balanced). We propose an efficient sampler (its expected time complexity is linear) which satisfies the Boltzmann model principle introduced by Duchon, Flajolet, Louchard and Schaeffer. Our main motivation is to show that the a… ▽ More
Submitted 14 November, 2009; originally announced November 2009.
-
arXiv:0911.2801 [pdf, ps, other]
Boltzmann Samplers for Colored Combinatorial Objects
Abstract: In this paper, we give a general framework for the Boltzmann generation of colored objects belonging to combinatorial constructible classes. We propose an intuitive notion called profiled objects which allows the sampling of size-colored objects (and also of k-colored objects) although the corresponding class cannot be described by an analytic ordinary generating function.
Submitted 14 November, 2009; originally announced November 2009.