-
Map coloring to each city on the map as a point of abstraction, and to every cit...
地图着色把地图上的每个城市抽象为一个点,并给每个城市编号,,相邻的城市之间用直线连接。据此做出邻接矩阵,若第i个城市与第j个城市相邻,则metro[i][j]=1,否则metro[i][j]=0。
算法:按照编号从小到大的顺序检查每个城市,对每个城市从1到4使用4种颜色着色,若当前颜色可用(即不与相邻城市颜色相同),则着色;否则测试下一种颜色。
-Map coloring to each city on the map as a point of abstraction, and to every city number, adjacent lines to connect between cities. Accordingly to make adjacency matrix, if the section i and section j cities adjacent cities, the metro [i] [j] = 1, otherwise the metro [i] [j] = 0. Algorithm: In accordance with the code sequence from small to large checks every city, every city on 1-4 from the use of four kinds of color shading, color can be used if the current (ie not with the same colors as the neighboring cities), then coloring Otherwise, the next test colors.
- 2022-02-12 12:09:41下载
- 积分:1
-
一个将mp3/mp2文件解压成wav文件的源码
一个将mp3/mp2文件解压成wav文件的源码-a document to extract mp3/mp2 wav file into the source
- 2022-02-25 08:36:50下载
- 积分:1
-
Arithmetic coding source code, you can realize Score bitrate. Huffman flexible t...
算术编码程序源代码,可以实现分数比特率。远比Huffman灵活-Arithmetic coding source code, you can realize Score bitrate. Huffman flexible than
- 2023-01-13 13:10:04下载
- 积分:1
-
H.264 codec algorithm source code
H.264编解码算法源代码-H.264 codec algorithm source code
- 2022-01-26 03:24:33下载
- 积分:1
-
在MFC应用程序中根据自己的选择显示一个JPG图形文件
在MFC应用程序中根据自己的选择显示一个JPG图形文件-MFC application in accordance with their own choose to display a JPG graphic files
- 2022-09-06 03:55:02下载
- 积分:1
-
student managment system
学生管理系统
- 2022-02-28 12:44:44下载
- 积分:1
-
一个完整的实验是管理系统
一个完整的实验是管理系统、非常好用
- 2023-06-02 22:25:03下载
- 积分:1
-
H.264的编码器,用于图像压缩编解码,希望对大家有用
H.264的编码器,用于图像压缩编解码,希望对大家有用-H.264 encoder for image compression codec, in the hope that useful
- 2022-03-24 15:20:30下载
- 积分:1
-
和Unix的compress/uncompress兼容的压缩/解压算法16位程序,适合压缩文本或重复字节较多的文件...
和Unix的compress/uncompress兼容的压缩/解压算法16位程序,适合压缩文本或重复字节较多的文件-16-bit compression and decompression program which is compatible with that in Unix,it is suitable for text
- 2022-01-25 17:00:11下载
- 积分:1
-
字符串的压缩与解压,输入一字符串文件,压缩后得一文件,在经解压得原文件。大家一起分享。...
字符串的压缩与解压,输入一字符串文件,压缩后得一文件,在经解压得原文件。大家一起分享。-string compression and decompression, the importation of a string, in a compressed file, after decompression in the original document. To share with everyone.
- 2022-08-13 23:04:38下载
- 积分:1