A Calculus for the Random Generation of Combinatorial Structures (1993)
| Citations: | 10 - 2 self |
BibTeX
@MISC{Flajolet93acalculus,
author = {Philippe Flajolet and Paul Zimmermann and Bernard Van Cutsem},
title = {A Calculus for the Random Generation of Combinatorial Structures},
year = {1993}
}
OpenURL
Abstract
A systematic approach to the random generation of labelled combinatorial objects is presented. It applies to structures that are decomposable, i.e., formally specifiable by grammars involving set, sequence, and cycle constructions. A general strategy is developed for solving the random generation problem with two closely related types of methods: for structures of size n, the boustrophedonic algorithms exhibit a worst-case behaviour of the form O(n log n); the sequential algorithms haveworst case O(n²), while offering good potential for optimizations in the average case. (Both methods appeal to precomputed numerical tables of linear size.) A companion calculus permits to systematically compute the average case cost of the sequential generation algorithm associated to a given specification. Using optimizations dictated by the cost calculus, several random generation algorithms are developed, based on the sequential principle; most of them have expected complexity 1/2 n log n,thu...







