登录
首页 » 算法 » C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区...

C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区...

于 2022-10-20 发布 文件大小:108.34 kB
0 224
下载积分: 2 下载次数: 1

代码说明:

C语言作的四色验证1.需求分析问题描述:证明了可以用不多于4种颜色对n个区域着色,而满足相邻的区域具有不同的颜色输入形式 : 暂定最多50个区域,如需证明更多区域,修改#define S 50 即可;以整形形式输入(取值范围1-32767)用户需要证明的区域数目,相联的一对矩阵; 输出形式:以0和1输出关联矩阵,和以blue yellow orange pink形式输出每个区域相对应证明出的颜色;-C language does four colors confirm 1. demands analyses question description: Had proven may use not to be many to 4 kind of colors to n region coloration, but satisfies the neighboring region to have the different color input form: Establishes provisionally more than 50 regions, if must prove more regions, revise#define S 50 then; Region number (value scope 1-32767) the user needs to prove which by the reshaping form input, unites a pair of matrix; Output form: By 0 and 1 output incidence matrixs, with form outputs the color by blue yellow orange the pink which each region corresponds proves;

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • 一些 SPOJ 的解决方案
    此文件包含一些像生活,nextpalindrome,primegenerator,测试,用 c + + 编程语言编码的 transformtheexpression spoj 问题的解决办法
    2022-04-18 10:41:23下载
    积分:1
  • 利用最佳一致逼近设计数字滤波器的程序,根据提示输入参数,程序输出单位取样响应h[n]...
    利用最佳一致逼近设计数字滤波器的程序,根据提示输入参数,程序输出单位取样响应h[n]-use the best approximation of the digital filter design process, according to suggest input parameters, output units sampling procedures response h [n]
    2023-05-04 19:05:03下载
    积分:1
  • 一个绝好的数学公式计算类,支持多种数学公式的快速计算
    一个绝好的数学公式计算类,支持多种数学公式的快速计算-a wonderful class of mathmatica fomula computing,supporting many formulas computing
    2022-01-30 18:24:11下载
    积分:1
  • 低密度脂蛋白-T 算法
    O 因子正定 N 由 N 矩阵成低密度脂蛋白 A * * T, L 在哪里与部分沿对角线的下三角矩阵 D 是一个对角矩阵与积极的条目 在对角线上 输入: 维度 N;1 条目 A(I,J) < = I J < = A.N 输出: 条目 L(I,J) 1 < = J < 我 1 < = I < = N L 和 D(I), 1 < = I < = D.N
    2023-03-16 01:55:03下载
    积分:1
  • ResizeImageMatrix
    This program implements various interpolation techniques to resize 2D matrices or Image Matrices. Methods of interpolation used are 1) Nearest Neighbour 2) Bilinear 3) Bicubic 2x2 4) Bicubic 4x4 5) Bicubic 6x6 6) Bicubic 8x8
    2022-01-25 16:59:14下载
    积分:1
  • 禁忌搜索法对初始解、邻域个数及禁忌列表的大小等参数有比较严格的要求, 这些参数直接影响着算法的优化能 力。文章提出了一种改进的禁忌搜索法, 它用有效空间来压...
    禁忌搜索法对初始解、邻域个数及禁忌列表的大小等参数有比较严格的要求, 这些参数直接影响着算法的优化能 力。文章提出了一种改进的禁忌搜索法, 它用有效空间来压缩搜索范围, 这样可以提高搜索效率和全局搜索能力。用短期 和长期禁忌列表存储器来保证算法能搜索到全局空间的每一点, 并且不重复搜索。经过验算和分析, 证明它是一种较好的 全局启发式搜索法-Tabu search method, the initial solution, neighborhood and tabu list size of the number of parameters such as have more stringent requirements, these parameters directly affect the ability to optimize the algorithm. This paper presents an improved tabu search method, it is used effectively to compress the search space, so that can improve search efficiency and global search capabilities. Short-term and long-term memory tabu list to ensure the algorithm to search to the global space, each point, and do not repeat the search. After checking and analysis, to prove that it is a good global heuristic search method
    2022-04-06 20:06:04下载
    积分:1
  • 线性方程组的两个程序,Guass-Jodan消去法和的,高斯塞德尔迭代法。...
    线性方程组的两个程序,Guass-Jodan消去法和的,高斯塞德尔迭代法。-linear equations of the two procedures, Guass- Jodan elimination and the high Shisaideer iterative method.
    2023-05-05 12:50:04下载
    积分:1
  • absolutely wonderful, for beginners
    绝对精彩,适合初学者-absolutely wonderful, for beginners
    2022-03-02 20:48:43下载
    积分:1
  • JavaScript重写C语言为mt19937
    MT19937的javascript:Real number version genrand()为每个调用生成一个伪随机实数(double),它均匀分布在[0,1]间隔上。sgenrand(seed)将初始值设置为624个字的工作区。在genrand()之前,sgenrand(seed)必须是
    2022-01-25 22:46:57下载
    积分:1
  • LEACH路由算法源码
    无线传感器网络LEACH (Low Energy Adaptive Clustering Hierarchy)路由算法C++源码
    2022-04-11 10:39:34下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载