-
解析BMP文件,并将BMP文件数据转换成C文件。可以应用于窗口…
解析BMP文件,并将BMP文件数据转换成C文件格式。 可适用于Windows CE开发时替换其LOGO画面。-analytic BMP file, and BMP file data into C files. Windows CE can be applied to the development of its replacement when LOGO picture.
- 2022-06-30 05:30:57下载
- 积分:1
-
算法实现题2
算法实现题2-1 输油管道问题
« 问题描述:
某石油公司计划建造一条由东向西的主输油管道。该管道要穿过一个有n 口油井的油
田。从每口油井都要有一条输油管道沿最短路经(或南或北)与主管道相连。如果给定n口油
井的位置,即它们的x 坐标(东西向)和y 坐标(南北向),应如何确定主管道的最优位置,
即使各油井到主管道之间的输油管道长度总和最小的位置?证明可在线性时间内确定主管道
的最优位置。
« 编程任务:
给定n 口油井的位置,编程计算各油井到主管道之间的输油管道最小长度总和。
« 数据输入:
由文件input.txt 提供输入数据。文件的第1 行是油井数n,1£ n£ 10000。接下来n 行是
油井的位置,每行2个整数x和y,-10000£ x,y£ 10000。
« 结果输出:
程序运行结束时,将计算结果输出到文件output.txt 中。文件的第1 行中的数是油井到
主管道之间的输油管道最小长度总和。
输入文件示例 输出文件示例
input.txt output.txt
5
1 2
2 2
1 3
3 -2
3 3
6
- 2022-11-12 20:40:04下载
- 积分:1
-
一个专门分析SEL4406卡片的分析工具,含具体的电路
一个专门分析SEL4406卡片的分析工具,含具体的电路-Analysis of a specialized card SEL4406 analytical tools, including the specific circuit
- 2023-08-06 20:40:03下载
- 积分:1
-
参考文章
遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛...
参考文章
遗传算法是基于达尔文进化论的一种智能优化算法,一种可用于复杂系统优化的具有鲁棒性的搜索算法,适用于解决传统方法难以解决的复杂的、非线性问题,可广泛应用于组合优化、离散优化、工程优化等领域。旅行商问题是一种NP难的组合优化问题,具有重要的理论研究价值和实际应用背景。然而,传统遗传算法中存在有不足,需要提出新的改进的遗传算法,并应用于旅行商问题的求解。-Genetic Algorithm article reference Darwin" s theory of evolution is based on an intelligent optimization algorithm, a complex system can be used to optimize the robustness of the search algorithm, the application of traditional methods to solve difficult and complex, nonlinear problems, can be widely applied in combinatorial optimization, discrete optimization, engineering, optimization and other fields. Traveling Salesman Problem is a NP hard combinatorial optimization problem, has important theoretical value and practical application of research background. However, the traditional genetic algorithm, there is less than the need to introduce new improved genetic algorithm, and applied for solving the traveling salesman problem.
- 2023-06-10 12:55:03下载
- 积分:1
-
可以任意虚拟IP,运行后可以使用虚拟的IP发邮件,注册
可以任意虚拟IP,运行后可以使用虚拟的IP发邮件,注册-It can implement any virtual IP ,after executing ,you can sent a email ,register and so on by using the Vitrual IP .
- 2022-06-14 13:56:00下载
- 积分:1
-
《OPCDA服务器与客户程序开发指南》,国内第一本关于OPC的权威中文指导书籍...
《OPCDA服务器与客户程序开发指南》,国内第一本关于OPC的权威中文指导书籍- OPCDA server and client program development guide, the first authoritative book on Chinese OPC guide books
- 2022-03-01 21:48:17下载
- 积分:1
-
Simple simple player, source code can be added, transplant into a rich multi
简单的simple player,源码可添加,移植成丰富的多功能player-Simple simple player, source code can be added, transplant into a rich multi-player
- 2023-06-23 11:15:03下载
- 积分:1
-
操作系统的实验:如何理由银行家算法避免死琐,本程序详细地实现算法...
操作系统的实验:如何理由银行家算法避免死琐,本程序详细地实现算法-experimental operating system : how to avoid algorithm reason bankers admit death, the procedures detailed algorithm
- 2022-07-07 05:44:09下载
- 积分:1
-
本程序实现了SVM分类的LIBSVM库。
This program implements SVM classification over libsvm library.
- 2022-11-25 22:25:04下载
- 积分:1
-
这个小程序是算法设计与分析方面的,求解背包问题,用的是递归设用的方法,本程序不是本人做的,朋友做的,可以拿来参考一下,不要抄袭,本人尊重版权朋友....
这个小程序是算法设计与分析方面的,求解背包问题,用的是递归设用的方法,本程序不是本人做的,朋友做的,可以拿来参考一下,不要抄袭,本人尊重版权朋友.-this is a small program algorithm design and analysis, problem solving backpack, it was established with the recursive method, the procedure is not my doing, friends do, can be used for reference, not plagiarism, I respect copyright friends.
- 2022-11-14 14:25:03下载
- 积分:1