𝔖 Bobbio Scriptorium
✦   LIBER   ✦

Efficient generation of graphical partitions

✍ Scribed by Tiffany M. Barnes; Carla D. Savage


Book ID
104294793
Publisher
Elsevier Science
Year
1997
Tongue
English
Weight
578 KB
Volume
78
Category
Article
ISSN
0166-218X

No coin nor oath required. For personal study only.

✦ Synopsis


Given a positive even integer n, we show how to generate the set G(n) of graphical partitions of n, that is, those partitions of n which correspond to the degree sequences of simple, undirected graphs. The algorithm is based on a recurrence for G(n), and the total time used by the algorithm, independent of output, is 0( IG(n)l), which is constant average time per graphical partition. This is the first algorithm shown to achieve such efficiency for generating G(n) and the direct approach differs from earlier 'generate and reject' schemes and the 'interval/gap' approach.


πŸ“œ SIMILAR VOLUMES


Efficient adaptive-shape partitioning of
✍ Kenneth Vermeirsch; Jan De Cock; Stijn Notebaert; Peter Lambert; Joeri Barbarien πŸ“‚ Article πŸ“… 2010 πŸ› Springer US 🌐 English βš– 993 KB
Efficient generation of plane trees
✍ Shin-ichi Nakano πŸ“‚ Article πŸ“… 2002 πŸ› Elsevier Science 🌐 English βš– 96 KB

A rooted plane tree is a rooted tree with a left-to-right ordering specified for the children of each vertex. In this paper we give a simple algorithm to generate all rooted plane trees with at most n vertices. The algorithm uses O(n) space and generates such trees in O(1) time per tree without dupl