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

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

于 2022-10-20 发布 文件大小:108.34 kB
0 193
下载积分: 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 个回复

  • 在VC++中使用GPU的基本遗传
    about the basic GA in the VC++ using GPU to -about the basic GA in the VC using GPU to
    2022-12-27 19:45:03下载
    积分:1
  • GUASS的C源代码
    GUASS算法的C源代码-GUASS algorithm C source code
    2022-02-07 02:53:00下载
    积分:1
  • 八数字源问题。
    八数码问题源程序.-eight digital source issues.
    2022-02-14 09:31:48下载
    积分:1
  • C程序中用于识别车间瓶颈设备(用于调度…
    c program for identifying bottleneck machines in a job shop (used in the scheduling of the shop floor)
    2023-07-26 23:10:02下载
    积分:1
  • 线性约束方程组,单纯形人工变量(用类写的)用文件输入输出的...
    线性约束方程组,单纯形人工变量法(用类写的)用文件输入输出的-linear constraint equations, artificial variable simplex method (using writing category) with the input and output documents
    2022-11-02 17:05:03下载
    积分:1
  • Newton差商插值,可输入数组进行插值运
    Newton差商插值,可输入数组进行插值运算-Newton difference quotient interpolation, may import array interpolation Operational
    2022-10-24 13:00:03下载
    积分:1
  • FPU MASM
    你好, 它的代码源计算与 FPU 在 ASM (MASM32)
    2022-02-06 08:29:27下载
    积分:1
  • 对数回归方程logarithmregress.cs方程模型y = * LN…
    对数回归方程 LogarithmRegress.cs 方程模型为 Y=a*LnX+b public override double[] buildFormula() 得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。 public override double forecast(double x) 预测函数,根据模型得到预测结果。 public override double computeR2() 计算相关系数(决定系数),系数越接近1,数据越满足该模型。 -Logarithmic regression equation LogarithmRegress.cs equation model for Y = a* LnX+ Bpublic override double [] buildFormula () get coefficient array, the storage order and model coefficients contrary, that is, the array is followed by the value of coefficient b, a. public override double forecast (double x) prediction function, according to the results of model prediction. public override double computeR2 () calculated the correlation coefficient (determination coefficient), coefficient of the closer one, the data satisfy the model more.
    2022-08-31 23:15:03下载
    积分:1
  • CRF跨平台源代码
    条件随机场源代码,本人对其进行了修改,可以在linux平台和window平台执行,不用修改代码,可以直接执行。
    2022-03-24 00:34:24下载
    积分:1
  • MUSIC
    用MUSIC算法实现信号的DOA估计
    2022-05-30 01:04:44下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载