Generating m-Ary Gray Codes and Related Algorithms

被引:0
|
作者
Bouyuklieva, Stefka [1 ]
Bouyukliev, Iliya [2 ]
Bakoev, Valentin [1 ]
Pashinska-Gadzheva, Maria [2 ]
机构
[1] St Cyril & St Methodius Univ Veliko Tarnovo, Fac Math & Informat, Veliko Tarnovo 5000, Bulgaria
[2] Bulgarian Acad Sci, Inst Math & Informat, Veliko Tarnovo 5000, Bulgaria
关键词
Gray code; m-ary Gray code; combinatorial algorithms; combinatorial generation; ranking; unranking;
D O I
10.3390/a17070311
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
In this work, we systematize several implementations of the Gray code over an alphabet with m >= 2 elements, which we present in C code so that they can be used directly after copying from the text. We consider two variants-reflected and modular (or shifted) m-ary Gray codes. For both variants, we present the ranking and unranking functions, as well as algorithms for generating only a part of the code, more precisely the codewords between two given vectors. Finally, we give algorithms that generate a maximal set of non-proportional vectors of length n over the given alphabet in a Gray code.
引用
收藏
页数:20
相关论文
共 50 条
  • [1] M-ARY GRAY CODES
    SHARMA, BD
    KHANNA, RK
    INFORMATION SCIENCES, 1978, 15 (01) : 31 - 43
  • [2] AFFINE M-ARY GRAY CODES
    COHN, M
    INFORMATION AND CONTROL, 1963, 6 (01): : 70 - &
  • [3] ON LEVEL-WEIGHT STUDIES OF BINARY AND M-ARY GRAY CODES
    SHARMA, BD
    KHANNA, RK
    INFORMATION SCIENCES, 1980, 21 (02) : 179 - 186
  • [4] Efficient m-ary balanced codes
    Discrete Appl Math, 1 (17-56):
  • [5] Efficient m-ary balanced codes
    Tallini, LG
    Vaccaro, U
    DISCRETE APPLIED MATHEMATICS, 1999, 92 (01) : 17 - 56
  • [6] The Shannon capacity of M-ary constrained codes
    Pimentel, C
    1998 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY - PROCEEDINGS, 1998, : 324 - 324
  • [7] On m-ary Balanced Codes with Parallel Decoding
    Pelusi, Danilo
    Tallini, Luca G.
    Bose, Bella
    2010 IEEE INTERNATIONAL SYMPOSIUM ON INFORMATION THEORY, 2010, : 1305 - 1309
  • [8] m-ary Balanced Codes With Parallel Decoding
    Pelusi, Danilo
    Elmougy, Samir
    Tallini, Luca G.
    Bose, Bella
    IEEE TRANSACTIONS ON INFORMATION THEORY, 2015, 61 (06) : 3251 - 3264
  • [9] ON GENERATING THE N-ARY REFLECTED GRAY CODES
    ER, MC
    IEEE TRANSACTIONS ON COMPUTERS, 1984, 33 (08) : 739 - 741
  • [10] A CONSTRUCTION METHOD FOR M-ARY UNIDIRECTIONAL ERROR CONTROL CODES - APPLICATION FOR M-ARY BERGER CHECK TO ASYMMETRIC ERROR CONTROL CODES
    AHN, TN
    SAKANIWA, K
    RAO, TRN
    LECTURE NOTES IN COMPUTER SCIENCE, 1991, 508 : 71 - 85