-
kruskal算法,数据结构中贪心算法的C语言实现。
kruskal算法,数据结构中贪心算法的C语言实现。-Kruskal algorithm, data structure of the greedy algorithm in C language.
- 2022-03-06 22:34:16下载
- 积分:1
-
旅行商问题:
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅...
旅行商问题:
某售货员要到若干城市去推销商品,已知各城市之间的路程(或旅费)。他要选定一条从驻地出发,经过每个城市一遍,最后回到驻地的路线,使总的路程(或旅费)最小。-traveling salesman problem : A salesman to a number of cities to sell commodities, known the distance between cities (or travel). He selected from a resident, after each city again, the last resident to return to the line, making the total distance (or travel) is the smallest.
- 2023-07-26 02:35:04下载
- 积分:1
-
回溯法的模板,关键是回溯的过程,以及在深搜过程中的方向问题...
回溯法的模板,关键是回溯的过程,以及在深搜过程中的方向问题-Backtracking template, the key is back process, as well as in the course of the deep question of the direction search
- 2022-06-15 15:31:48下载
- 积分:1
-
本程序用另外一种算法即近邻算法解决TSP,即旅行商问题,请高手指教....
本程序用另外一种算法即近邻算法解决TSP,即旅行商问题,请高手指教.-this procedure with the other algorithms that solve the TSP neighbor algorithm, the traveling salesman problem, experts advise.
- 2022-05-11 02:39:42下载
- 积分:1
-
汉诺塔演示 文本界面的
汉诺塔演示 文本界面的-HANOR demo version of the interface
- 2022-05-30 17:44:44下载
- 积分:1
-
又一个c++委托(函数对象)模板类的实现
又一个c++委托(函数对象)模板类的实现-Another c++ Commissioned (function object) template class realize
- 2022-03-25 08:07:25下载
- 积分:1
-
数据结构与算法分析中创建链表,实现多项式相加
数据结构与算法分析中创建链表,实现多项式相加-Analysis of the data structure and algorithm to create a list, add up to the realization of polynomial
- 2023-01-31 17:15:04下载
- 积分:1
-
new-DV-Hop-code
改进DV-Hop定位算法
首先设置初始量,布置了一个范围为100×100m2的区域,其上随机分布100个传感器节点,其中有10个信标节点,节点的通信半径为30m。
第二步在正方形区域内产生均匀分布的随机拓扑,随机产生节点坐标并将其中十个选定为信标节点,其余九十个设为未知节点,然后画出节点分布图。
第三步通过最短路径法计算未知节点与每个信标节点的最小跳数。
第四步根据前面记录的其他信标节点的位置信息和相距跳数估算平均每跳的实际距离,用跳数估计距离的方法得出未知节点到信标节点的距离。
第五步用极大似然估计法求未知节点坐标
(Improved DV-Hop localization algorithm first set the initial amount, layout 100100m2 the area of a range of 100 sensor nodes randomly distributed on the 10 beacon node, the node communication radius of 30m. The second step in the square area to generate uniformly distributed random topology, random coordinates of the nodes and ten of the selected beacon node, the remaining 90 is set to unknown node, and then draw the node distribution diagram. The third step is to calculate the minimum number of hops of the unknown node and each beacon node through the shortest path method. The fourth step according to the location information of the other beacon nodes in the previous record and away from hops to estimate the average hop distance and hop count to estimate the distance to come to the distance of the unknown node to beacon nodes. The fifth step maximum likelihood estimation method and the unknown coordinates of the nodes)
- 2020-10-12 22:27:31下载
- 积分:1
-
一个计算逻辑表达式的程序,是结构化计算机组成课实习的作业...
一个计算逻辑表达式的程序,是结构化计算机组成课实习的作业-a logical expression calculation procedures, the structure is composed of computer training classes operations
- 2022-03-11 19:27:59下载
- 积分:1
-
数据结构算法实现及解析―配合严蔚敏_吴伟民编著的数据结构(C语言版和C++版)(作者 高一凡)源代码。
本代码含有严蔚敏《数据结构(C语言版)》和《数据结构...
数据结构算法实现及解析―配合严蔚敏_吴伟民编著的数据结构(C语言版和C++版)(作者 高一凡)源代码。
本代码含有严蔚敏《数据结构(C语言版)》和《数据结构(C++版)》两本书全书完整源代码,我在Visual C++、Dev C++、Turbo C、Turbo C++、DJGPP、MinGW上调试通过,正在学习数据结构的同学一定要看啊~对学习相当有帮助-Data Structure and Analysis of Algorithms- Wei-Min Yen with吴伟民_ edited by the data structure (C language and C++ version) (The author is one where high) source code. The code contains Yan Wei-Min " data structure (C language version)" and " data structure (C++ version)," book 2 books full source code at my Visual C++, Dev C++, Turbo C, Turbo C++, DJGPP, MinGW debugging through , is studying data structure must depend on the Student ah ~ there is a considerable help to the study
- 2022-02-25 08:37:43下载
- 积分:1