-
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
-
用单片机来直接驱动步进电机很精确走小步子.
用单片机来直接驱动步进电机很精确走小步子.-Using single-chip to directly drive stepper motor is very accurate take small steps.
- 2023-02-01 19:50:04下载
- 积分:1
-
图像压缩的GUI程序,可以直接调用,直接读入图片对其压缩
图像压缩的GUI程序,可以直接调用,直接读入图片对其压缩-image compression GUI program can directly call directly read into its compressed images
- 2023-07-17 23:50:03下载
- 积分:1
-
哈夫曼编码法的压缩和解压缩,vc6.0编写的,对哈夫曼编码想要了解的朋友有一定帮助。...
哈夫曼编码法的压缩和解压缩,vc6.0编写的,对哈夫曼编码想要了解的朋友有一定帮助。-Huffman coding method of compression and decompression, vc6.0 prepared for Huffman friends want to know some help.
- 2022-03-20 15:24:50下载
- 积分:1
-
decompress rar under the program source code
在linux下解压缩rar的程序源代码 -decompress rar under the program source code
- 2022-03-17 18:58:18下载
- 积分:1
-
Huffman compression algorithm for image compression, the absolute ease of use, n...
霍夫曼压缩算法,针对图像压缩,绝对好用,不信试试。-Huffman compression algorithm for image compression, the absolute ease of use, not to try.
- 2023-04-21 23:20:02下载
- 积分:1
-
7za447,压缩解压缩源码,最新源码^_^
7za447,压缩解压缩源码,最新源码^_^-7za447, decompress compressed source, the latest source ^ _ ^
- 2022-01-25 15:39:22下载
- 积分:1
-
JPEG压缩编码(基本系统)简单示例
JPEG压缩编码(基本系统)简单示例-JPEG compression coding (basic system) simple example-JPEG compression (basic system) easy sample-JPEG compression coding (basic system) simple example
- 2022-09-01 20:10:03下载
- 积分:1
-
哈弗曼编码的C++实现,包括多个实用头文件
哈弗曼编码的C++实现,包括多个实用头文件-Huffman-coded C++ implementation, including a number of practical header files
- 2023-04-30 05:05:03下载
- 积分:1
-
欢迎交流!我刚学习!还需要努力!谢谢!怎么学习!学习什么有前途呢?...
欢迎交流!我刚学习!还需要努力!谢谢!怎么学习!学习什么有前途呢?-Welcome the exchange! I have just learning! Also needs to be done! Thanks! How to learn! What does the future have to learn?
- 2022-04-24 23:23:54下载
- 积分:1