文件名称:mapcoloring
-
所属分类:
- 标签属性:
- 上传时间:2013-04-19
-
文件大小:748.89kb
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
已知中国地图,对各省进行着色,要求相邻省所使用的颜色不同,并保证使用的颜色总数最少。地图采用数据结构中无向图的存储结构存储,中国的三十四个省为三十四个节点,若两省相邻则存在一条边。任选一个节点作为初始节点开始着色,与其不相邻的边涂为相同颜色,然后再未涂色的节点中任选一节点重复上述步骤,直到所有节点均涂上色为止。-Known map of China, the provinces colored neighboring Province, the colors used, and to ensure that at least the total number of colors used. Map using the data structure to the storage structure of the storage, the thirty-four provinces in China for 30 four nodes, then there exists an edge if the adjacent provinces. Choose one node as the initial node to start coloring, its not adjacent edges are painted the same color, and then choose one node in the node then Unpainted Repeat the above steps until all the nodes are painted in colors so far.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
mapcoloring/ChinaMapColoring.txt
mapcoloring/mapcoloring.cpp
mapcoloring/mapcoloring.h
mapcoloring/数据结构课程设计.pptx
mapcoloring/课程设计报告格式.doc
mapcoloring/
mapcoloring/mapcoloring.cpp
mapcoloring/mapcoloring.h
mapcoloring/数据结构课程设计.pptx
mapcoloring/课程设计报告格式.doc
mapcoloring/
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.