-
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
-
prepared code auxiliary tool. However, they advocate to develop good code
编写代码的辅助工具。但是还是提倡养成良好的代码编写习惯。-prepared code auxiliary tool. However, they advocate to develop good code-writing habits.
- 2022-04-24 16:35:00下载
- 积分:1
-
VC编成实现ftp服务器大家踊跃下载啊
VC编成实现ftp服务器大家踊跃下载啊-VC into everyone realize their ftp server download ah
- 2022-08-18 07:16:23下载
- 积分:1
-
用于数据流压缩的huffman算法
用于数据流压缩的huffman算法 -Huffman algorithm used for data stream
- 2022-05-16 05:16:16下载
- 积分:1
-
this procedure is what I want to write a week to help out please see ah
这个程序是我想了一个星期写出来 请大家帮忙看看呀-this procedure is what I want to write a week to help out please see ah
- 2022-05-20 19:13:03下载
- 积分:1
-
算术编码方法是将被编码的一则消息或符号串(序列)表示成0和1之间的一个间隔(Interval),即对一串符号直接编码成[0,1]区间上的一个浮点小数。符号序列越...
算术编码方法是将被编码的一则消息或符号串(序列)表示成0和1之间的一个间隔(Interval),即对一串符号直接编码成[0,1]区间上的一个浮点小数。符号序列越长,编码表示它的间隔越小,表示这一间隔所需的位数就越多。信源中的符号序列仍然要根据某种模式生成概率的大小来减少间隔。可能出现的符号概率要比不太可能出现的符号减少范围小,因此,只正加较少的比特位。-Arithmetic coding method is to be a coded message or symbol strings (sequences) that between 0 and 1 into an interval (Interval), that is directly encoded into a string of symbols [0,1] range of a floating-point decimal. The longer the symbol sequence, encoding the smaller the interval that it said that the median of this interval, the more necessary. Source is still the symbolic sequence generated according to a mode to reduce the size of the probability interval. May be less than the probability of the symbols of the symbols may be small to reduce the scope, therefore, are only plus-bit bit less.
- 2022-11-15 07:20:04下载
- 积分:1
-
Delphi编程技巧集锦
Delphi编程技巧集锦-Delphi programming skills Collection
- 2022-01-26 01:49:11下载
- 积分:1
-
lzw压缩程序1.5
lzw压缩程序1.5 -Lzw1.5
- 2022-04-10 13:41:20下载
- 积分:1
-
err
c++
- 2022-05-05 20:38:09下载
- 积分:1
-
各种源数据的压缩和解压缩,使用MFC实现…
各种数据压缩和解压的源码,用mfc实现。包括熵编码,预测编码,变换编码,字典编码-A variety of data compression and decompression of the source, using mfc achieve. Including entropy coding, predictive coding, transform coding, dictionary coding
- 2022-03-18 21:44:40下载
- 积分:1