Efficient generation of restricted growth words

Toufik Mansour, Vincent Vajnovszki

Research output: Contribution to journalArticlepeer-review

Abstract

A length n restricted growth word is a word w=w1 w2.wn over the set of integers where w1=0 and each wi, i>1, lies between 0 and the value of a word statistics of the prefix w1w2.wi-1 of w, plus one. Restricted growth words simultaneously generalize combinatorial objects as restricted growth functions, staircase words and ascent or binary sequences. Here we give a generic generating algorithm for restricted growth words. It produces a Gray code and runs in constant average time provided that the corresponding statistics has some local properties.

Original languageEnglish
Pages (from-to)613-616
Number of pages4
JournalInformation Processing Letters
Volume113
Issue number17
DOIs
StatePublished - 2013

Keywords

  • Algorithms
  • Gray codes
  • Restricted growth functions/words

All Science Journal Classification (ASJC) codes

  • Theoretical Computer Science
  • Signal Processing
  • Information Systems
  • Computer Science Applications

Fingerprint

Dive into the research topics of 'Efficient generation of restricted growth words'. Together they form a unique fingerprint.

Cite this