文件名称:gray
介绍说明--下载内容均来自于网络,请自行研究使用
格雷码生成
对于给定的正整数n,格雷码为满足如下条件的一个编码序列:
(1) 序列由2n个编码组成,每个编码都是长度为n的二进制位串。
(2) 序列中无相同的编码。
(3) 序列中位置相邻的两个编码恰有一位不同。
-Gray code generated for a given positive integer n, Gray code to meet the following conditions of a coding sequence: (1) coding sequence by the 2n months, each code is a length of n-bit binary string. (2) without the same sequence number. (3) the location of sequences adjacent to the two just have a different encoding.
对于给定的正整数n,格雷码为满足如下条件的一个编码序列:
(1) 序列由2n个编码组成,每个编码都是长度为n的二进制位串。
(2) 序列中无相同的编码。
(3) 序列中位置相邻的两个编码恰有一位不同。
-Gray code generated for a given positive integer n, Gray code to meet the following conditions of a coding sequence: (1) coding sequence by the 2n months, each code is a length of n-bit binary string. (2) without the same sequence number. (3) the location of sequences adjacent to the two just have a different encoding.
相关搜索: 格雷码
(系统自动生成,下载前可以参看下载内容)
下载文件列表
gray.c