Computer Science > Data Structures and Algorithms
[Submitted on 30 Jan 2010 (this version), latest version 1 Jun 2010 (v3)]
Title:Multi-Parameter Sampling for Rational Languages
View PDFAbstract: This paper addresses how to efficiently sample words from a rational language (over an alphabet of size $k$), while constraining every letter to a targeted frequencies of occurrence. Our approach consists in an extended -- multivariate -- version of the classical Boltzmann samplers \cite{Duchon2004}. We prove that, under relatively weak hypotheses, our sampler returns a word of size in $[(1-\epsilon)n, (1+\epsilon)n]$ and exact frequency in $\mathcal{O}(n^{1+k/2})$ expected time. Moreover, if we accept a tolerance interval of length in $\mathcal{O}(\sqrt{n})$ for the number of occurrences of each letters, our sampler reaches an approximate-size generation of words in expected $\mathcal{O}(n)$ time. We illustrate these techniques on the generation of perfect Tetris histories (Tesselations of a $w\times h$ rectangle).
Submission history
From: Yann Ponty [view email] [via CCSD proxy][v1] Sat, 30 Jan 2010 06:24:13 UTC (159 KB)
[v2] Mon, 1 Mar 2010 05:38:44 UTC (161 KB)
[v3] Tue, 1 Jun 2010 06:59:29 UTC (159 KB)
References & Citations
Bibliographic and Citation Tools
Bibliographic Explorer (What is the Explorer?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)
Code, Data and Media Associated with this Article
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)
Demos
Recommenders and Search Tools
Influence Flower (What are Influence Flowers?)
Connected Papers (What is Connected Papers?)
CORE Recommender (What is CORE?)
arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.