Skip to main content

2011 | OriginalPaper | Buchkapitel

Ranking and Loopless Generation of k-ary Dyck Words in Cool-lex Order

verfasst von : Stephane Durocher, Pak Ching Li, Debajyoti Mondal, Aaron Williams

Erschienen in: Combinatorial Algorithms

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

A binary string

B

of length

n

 = 

k

t

is a

k

-ary Dyck word if it contains

t

copies of 1, and the number of 0s in every prefix of

B

is at most

k

−1 times the number of 1s. We provide two loopless algorithms for generating

k

-ary Dyck words in cool-lex order: (1) The first requires two index variables and assumes

k

is a constant; (2) The second requires

t

index variables and works for any

k

. We also efficiently rank

k

-ary Dyck words in cool-lex order. Our results generalize the “coolCat” algorithm by Ruskey and Williams (

Generating balanced parentheses and binary trees by prefix shifts

in CATS 2008) and provide the first loopless and ranking applications of the general cool-lex Gray code by Ruskey, Sawada, and Williams (

Binary bubble languages and cool-lex order

under review).

Sie haben noch keine Lizenz? Dann Informieren Sie sich jetzt über unsere Produkte:

Springer Professional "Wirtschaft+Technik"

Online-Abonnement

Mit Springer Professional "Wirtschaft+Technik" erhalten Sie Zugriff auf:

  • über 102.000 Bücher
  • über 537 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Maschinenbau + Werkstoffe
  • Versicherung + Risiko

Jetzt Wissensvorsprung sichern!

Springer Professional "Technik"

Online-Abonnement

Mit Springer Professional "Technik" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 390 Zeitschriften

aus folgenden Fachgebieten:

  • Automobil + Motoren
  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Elektrotechnik + Elektronik
  • Energie + Nachhaltigkeit
  • Maschinenbau + Werkstoffe




 

Jetzt Wissensvorsprung sichern!

Springer Professional "Wirtschaft"

Online-Abonnement

Mit Springer Professional "Wirtschaft" erhalten Sie Zugriff auf:

  • über 67.000 Bücher
  • über 340 Zeitschriften

aus folgenden Fachgebieten:

  • Bauwesen + Immobilien
  • Business IT + Informatik
  • Finance + Banking
  • Management + Führung
  • Marketing + Vertrieb
  • Versicherung + Risiko




Jetzt Wissensvorsprung sichern!

Metadaten
Titel
Ranking and Loopless Generation of k-ary Dyck Words in Cool-lex Order
verfasst von
Stephane Durocher
Pak Ching Li
Debajyoti Mondal
Aaron Williams
Copyright-Jahr
2011
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/978-3-642-25011-8_15