-
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
-
简单的网吧收费系统,可用在小型网吧,有服务端与客户端两个部分组成。...
简单的网吧收费系统,可用在小型网吧,有服务端与客户端两个部分组成。-Simple Internet cafe billing system can be used in a small cafe
- 2022-02-26 13:00:11下载
- 积分:1
-
To achieve the image compression ratio and lzw encoding to be simple and straigh...
实现图像的lzw编码 得到压缩比和码长 程序简单明了-To achieve the image compression ratio and lzw encoding to be simple and straightforward procedure code length
- 2022-09-11 21:45:03下载
- 积分:1
-
With C# Write an FTP class, downloaded as long as taken on the line with!
用C#写的一个FTP类,下载了只要拿去用就行!-With C# Write an FTP class, downloaded as long as taken on the line with!
- 2022-03-22 22:57:41下载
- 积分:1
-
ZIP文件上传后自动解压程序源代码
ZIP文件上传后自动解压程序源代码 -ZIP file uploads automatically extracting source code
- 2022-03-20 01:11:11下载
- 积分:1
-
An ordinary calculator, beginners can be used to support common digital computin...
一个普通的计算器,初学者可使用,可支持普通数字的运算-An ordinary calculator, beginners can be used to support common digital computing
- 2022-07-13 05:47:10下载
- 积分:1
-
all compression format compression decompression.
所有压缩格式的压缩解压缩。-all compression format compression decompression.
- 2022-03-19 07:29:09下载
- 积分:1
-
xvid的视频编解码库文件
xvid的视频编解码库文件-xvid video codec libraries
- 2022-01-31 03:48:28下载
- 积分:1
-
斯坦福大学凸规划的程序,很经典,多次在IEEE的文章中出现
斯坦福大学凸规划的程序,很经典,多次在IEEE的文章中出现-convex
- 2022-06-19 14:20:58下载
- 积分:1
-
EasyARM1138 的蜂鸣器程序 能发出两种不同频率的声音
EasyARM1138 的蜂鸣器程序 能发出两种不同频率的声音-EasyARM1138 the buzzer program can issue two kinds of different frequencies of sound
- 2022-03-18 22:23:14下载
- 积分:1