A Gray code for set partitions

From MaRDI portal





A Gray code for the set of partitions of \(\{1,\ldots,n\}\) is an ordered list of the partitions with the property that any partition is obtained from its predecessor by moving one letter. The author gives two constructions for such a Gray code, one recursive, the other direct. An algorithm for the second construction is given; it has the property that the average work per partition is bounded independent of \(n\).




Cited in
(25)








This page was built for publication: A Gray code for set partitions

Report a bug (only for logged in users!)Click here to report a bug for this page (MaRDI item Q1239129)