Efficient oracles for generating binary bubble languages (Q426808)
From MaRDI portal
scientific article
Language | Label | Description | Also known as |
---|---|---|---|
English | Efficient oracles for generating binary bubble languages |
scientific article |
Statements
Efficient oracles for generating binary bubble languages (English)
0 references
12 June 2012
0 references
Summary: A simple meta-algorithm is provided to efficiently generate a wide variety of combinatorial objects that can be represented by binary strings with a fixed number of 1's. Such objects include: \(k\)-ary Dyck words, connected unit interval graphs, binary strings lexicographically larger than \(\omega\), those avoiding \(10^k\) for fixed \(k\), reversible strings and feasible solutions to knapsack problems. Each object requires only a very simple object-specific subroutine (oracle) that plugs into the generic cool-lex framework introduced by Williams. The result is that each object can be generated in amortized \(O(1)\)-time. Moreover, the strings can be listed in either a conventional co-lexicographic order, or in the cool-lex Gray code order.
0 references
bubble language
0 references
Gray code
0 references
cool-lex
0 references
unit interval graph
0 references
knapsack
0 references
reversible strings
0 references
CAT algorithm
0 references
necklace
0 references
Lyndon word
0 references