Boltzmann sampling of irreducible context-free structures in linear time

05/26/2021
by   Andrea Sportiello, et al.
0

We continue our program of improving the complexity of so-called Boltzmann sampling algorithms, for the exact sampling of combinatorial structures, and reach average linear-time complexity, i.e. optimality up to a multiplicative constant. Here we solve this problem for irreducible context-free structures, a broad family of structures to which the celebrated Drmota–Lalley–Woods Theorem applies. Our algorithm is a rejection algorithm. The main idea is to single out some degrees of freedom, i.e. write p(x)=p_1(y) p_2(x|y), which allows to introduce a rejection factor at the level of the y object, that is almost surely of order 1.

READ FULL TEXT
research
06/09/2017

A linear-time algorithm for the maximum-area inscribed triangle in a convex polygon

Given the n vertices of a convex polygon in cyclic order, can the triang...
research
04/04/2020

Correction to: A Practical, Provably Linear Time, In-place and Stable Merge Algorithm via the Perfect Shuffle

We correct a paper previously submitted to CoRR. That paper claimed that...
research
10/25/2022

Deformation Theory of Boltzmann Distributions

Consider a one-parameter family of Boltzmann distributions p_t(x) = 1Z_t...
research
05/03/2020

Efficiently Testing Simon's Congruence

Simon's congruence ∼_k is defined as follows: two words are ∼_k-equivale...
research
07/14/2023

Computing Zigzag Vineyard Efficiently Including Expansions and Contractions

Vines and vineyard connecting a stack of persistence diagrams have been ...
research
10/01/2021

Whole Sampling Generation of Scale-Free Graphs

This paper presents the development of a new class of algorithms that ac...
research
01/18/2021

A superstatistical formulation of complexity measures

It is discussed how the superstatistical formulation of effective Boltzm...

Please sign up or login with your details

Forgot password? Click here to reset