-
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
-
enjoy with each other
enjoy with each other
- 2022-05-22 08:14:48下载
- 积分:1
-
encoder 视频会议 视频编码算法 源程序
encoder 视频会议 视频编码算法 源程序 -video conferencing encoder video source coding algorithm
- 2023-02-15 22:45:04下载
- 积分:1
-
操作系统实验.rar
操作系统实验.rar-experimental operating system. Rar
- 2022-03-25 00:13:12下载
- 积分:1
-
vc环境下的利用IJL压缩库进行BMP
vc环境下的利用IJL压缩库进行BMP->JPG的压缩转化-vc environment IJL compression library for the use of BMP-
- 2022-02-26 18:16:12下载
- 积分:1
-
经典的MP4编解码核心,可以建立跨
经典的MP4编解码核心库,可以跨平台编译使用。-classic MP4 codec core, you can build cross-platform use.
- 2022-12-10 12:55:03下载
- 积分:1
-
vc编写的实现圆形时钟的程序,时钟显示系统时间
vc编写的实现圆形时钟的程序,时钟显示系统时间-vc prepared by the round the clock to achieve the procedure, the clock time display system
- 2022-03-22 16:58:08下载
- 积分:1
-
通过学习,理解继承热性的用法,程序中通过直线和点之间的继承特性进行演示了。...
通过学习,理解继承热性的用法,程序中通过直线和点之间的继承特性进行演示了。-Through the study, understanding the usage of heat inherited the program through the succession between the lines and points, demonstrate the properties.
- 2022-10-02 04:45:03下载
- 积分:1
-
java语言写的购物车程序原码.
java语言写的购物车程序原码.-carts procedures original code.
- 2023-02-09 05:15:03下载
- 积分:1
-
this code tree with Hoffman as the compression and decompression of the storage...
此代码用霍夫曼树作为压缩和解压缩的存储结构,实现了字典压缩算法,用C便已成功。-this code tree with Hoffman as the compression and decompression of the storage structure and achieve a dictionary compression algorithm has been successfully used C.
- 2022-04-23 00:32:34下载
- 积分:1