A Construction for Balancing Non-Binary Sequences Based on Gray Code Prefixes
Abstract
We introduce a new construction for the balancing of non-binary sequences that make use of Gray codes for prefix coding. Our construction provides full encoding and decoding of sequences, including the prefix. This construction is based on a generalization of Knuth's parallel balancing approach, which can handle very long information sequences. However, the overall sequence composed of the information sequence, together with the prefix must be balanced. This is reminiscent of Knuth's serial algorithm. The encoding of our construction does not make use of lookup tables, while the decoding process is simple and can be done in parallel.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2017
- DOI:
- 10.48550/arXiv.1706.00852
- arXiv:
- arXiv:1706.00852
- Bibcode:
- 2017arXiv170600852N
- Keywords:
-
- Computer Science - Information Theory
- E-Print:
- 9 pages, 7 figures