Advertisement

Improved Methods For Generating Quasi-gray Codes

  • Prosenjit Bose
  • Paz Carmi
  • Dana Jansens
  • Anil Maheshwari
  • Pat Morin
  • Michiel Smid
Part of the Lecture Notes in Computer Science book series (LNCS, volume 6139)

Abstract

Consider a sequence of bit strings of length d, such that each string differs from the next in a constant number of bits. We call this sequence a quasi-Gray code. We examine the problem of efficiently generating such codes, by considering the number of bits read and written at each generating step, the average number of bits read while generating the entire code, and the number of strings generated in the code. Our results give a trade-off between these constraints, and present algorithms that do less work on average than previous results, and that increase the number of bit strings generated.

Keywords

Gray codes quasi-Gray codes decision trees counting combinatorial generation 

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. 1.
    Brodal, G.S.: Personal Communication (2009)Google Scholar
  2. 2.
    Fredman, M.L.: Observations on the complexity of generating quasi-gray codes. Siam Journal of Computing 7(2), 134–146 (1978)CrossRefMathSciNetGoogle Scholar
  3. 3.
    Gray, F.: Pulse Code Communications. U.S. Patent 2632058 (1953)Google Scholar
  4. 4.
    Minsky, M., Papert, S.: Perceptrons. MIT Press, Cambridge (1969)zbMATHGoogle Scholar
  5. 5.
    Ziaur Rahman, M., Ian Munro, J.: Integer representation and counting in the bit probe model. Algorithmica (December 2008)Google Scholar
  6. 6.
    Frandsen, G.S., Miltersen, P.B., Skyum, S.: Dynamic word problems. J. ACM 44(2), 257–271 (1997)zbMATHCrossRefMathSciNetGoogle Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 2010

Authors and Affiliations

  • Prosenjit Bose
    • 1
  • Paz Carmi
    • 2
  • Dana Jansens
    • 1
  • Anil Maheshwari
    • 1
  • Pat Morin
    • 1
  • Michiel Smid
    • 1
  1. 1.Carleton UniversityOttawaCanada
  2. 2.Ben-Gurion University of the Negev 

Personalised recommendations