-
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
-
哈夫曼编码法的压缩和解压缩,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
-
【文本与二值图像的游程】1. 文本游程压缩的原理 对重复字段采用3符号标识法:(1) 重复提示符,比如@,#等;(2) 游程长度参数或重复次数,若用一个字节表示...
【文本与二值图像的游程】1. 文本游程压缩的原理 对重复字段采用3符号标识法:(1) 重复提示符,比如@,#等;(2) 游程长度参数或重复次数,若用一个字节表示,最大长度可为255个重复字;(3) 重复字符。以上三部分合称为重复因子。可见要获得压缩效益,重复字符应在3个以上。2. 图像游程压缩的原理 对于二值图像,原始数据为零一矩阵,压缩时逐行处理该矩阵:(1) 连续n个1,表示为+n;(2) 连续n个0,表示为-n。-text and binary image-- an outbound trip. Yu Cheng text compression principle on repeated field using three symbols logo Act : (a) repeat prompt, such as @,#, etc.; (2) Run-length parameters, or the number of repeat, if using a byte, the largest the length of 255 to repeat the word; (3) repeat characters. More than three as part of a repeat factor. Visibility to gain compression efficiency, duplication of characters in three more. 2. Run-image compression for the principle of two binary images, a zero original data matrix, progressive compression deal with the matrix : (1) n a row, n; (2) consecutive n 0, expressed as-n.
- 2022-05-06 21:11:33下载
- 积分:1
-
一个用于测试不同加密方式及压缩方式下文件压缩的速度和大小的工具。
一个用于测试不同加密方式及压缩方式下文件压缩的速度和大小的工具。-A different encryption method for testing and compression file compression under the speed and size of tool.
- 2022-07-10 06:21:20下载
- 积分:1
-
a relatively simple VB Access from the development of the system, please see slo...
一个比较简单的由VB+Access开发的系统,请慢看-a relatively simple VB Access from the development of the system, please see slow
- 2023-09-06 19:05:04下载
- 积分:1
-
做成界面的基于小波的spiht算法压缩解压缩编码
做成界面的基于小波的spiht算法压缩解压缩编码-Make the interface of the SPIHT algorithm based on wavelet compression decompression coding
- 2022-03-06 05:39:22下载
- 积分:1
-
lzw压缩程序1.5
lzw压缩程序1.5 -Lzw1.5
- 2022-04-10 13:41:20下载
- 积分:1
-
自己刚编的一个串口测试程序,可以下下来看一下,
自己刚编的一个串口测试程序,可以下下来看一下,-their first draft of a serial test procedure can look at the Lower,
- 2023-04-13 08:15:04下载
- 积分:1
-
电脑鼠走迷宫,包括探索和冲刺。探索部分路径直接返回起点进入冲刺状态 。...
电脑鼠走迷宫,包括探索和冲刺。探索部分路径直接返回起点进入冲刺状态 。-Computer Mouse Maze, including the exploration and sprint. A direct return to the starting point to explore some of the path into the sprint the state.
- 2022-04-20 07:44:46下载
- 积分:1
-
我在做项目的时候需要将文件进行压缩和解压缩,于是就从http://www.icsharpcode.net下载了关于压缩和解压缩的源码,但是下载下来后,面对这么多...
我在做项目的时候需要将文件进行压缩和解压缩,于是就从http://www.icsharpcode.net下载了关于压缩和解压缩的源码,但是下载下来后,面对这么多的代码,一时不知如何下手。只好耐下心来,慢慢的研究,总算找到了门路。针对自己的需要改写了文件压缩和解压缩的两个类,分别为ZipClass和UnZipClass。其中碰到了不少困难,就决定写出来压缩和解压的程序后,一定把源码贴出来共享,让首次接触压缩和解压缩的朋友可以少走些弯路。-When I was doing the project will need to compress and decompress files, so downloading from http://www.icsharpcode.net on the compression and decompression of the source code, but it downloaded, and faced with so many code, 1:00 do not know how start with. Had under-resistant heart, the slow research and finally found the avenues. In light of their need to be rewritten a file compression and decompression of the two classes, namely ZipClass and UnZipClass. Which encountered many difficulties, it was decided to write out compression and decompression process, some paste out of the source code sharing, so that the first contact with compression and decompression of friends can take some less roundabout.
- 2022-08-25 01:14:36下载
- 积分:1