搜索资源列表
-
1下载:
主要介绍了dvhop算法的源代码,先计算平均每跳的距离,再根据跳数求出锚节点与未知节点的距离,再用三边测量法求出未知节点坐标,Dvhop algorithm introduces the source code, to calculate the average distance of each jump, then jump a few calculated in accordance with anchor nodes and unknown distance from the node,
-
-
0下载:
利用matlab仿真GPS坐标转换,即知道一点的GPS坐标利用测出来的距离俯仰方位信息计算另外一点的GPS坐标。-GPS coordinates conversion using matlab simulation, that is to know that the GPS coordinates use the distance measured from the pitching position information to calculate the GPS coordinates of
-
-
3下载:
用遗传算法写的求解TSP问题 四种情况 多旅行商单出发点 多旅行商多出发点 单旅行商以点的坐标计算及以距离矩阵计算-Written by using genetic algorithms for solving TSP problems, four cases: more than a single starting point for traveling salesman, multi-traveling salesman more than a starting point, a singl
-
-
0下载:
提供两个点坐标,可以利用本程序,计算两点距离,简单好用。-Coordinates of two points, you can use this procedure to calculate the distance to two points, easy-to-use.
-
-
0下载:
TSP问题(又名:旅行商问题,货郎担问题)遗传算法通用matlab程序 D是距离矩阵,n为种群个数 参数a是中国31个城市的坐标 C为停止代数,遗传到第 C代时程序停止,C的具体取值视问题的规模和耗费的时间而定 m为适应值归一化淘汰加速指数,最好取为1,2,3,4,不宜太大 alpha为淘汰保护指数,可取为0~1之间任意小数,取1时关闭保护功能,建议取0.8~1.0之间的值 R为最短路径,Rlength为路径长度- TSP problem (also known as: traveling
-
-
1下载:
改进DV-Hop定位算法
首先设置初始量,布置了一个范围为100×100m2的区域,其上随机分布100个传感器节点,其中有10个信标节点,节点的通信半径为30m。
第二步在正方形区域内产生均匀分布的随机拓扑,随机产生节点坐标并将其中十个选定为信标节点,其余九十个设为未知节点,然后画出节点分布图。
第三步通过最短路径法计算未知节点与每个信标节点的最小跳数。
第四步根据前面记录的其他信标节点的位置信息和相距跳数估算平均每跳的实际距离,用跳数估计距离的方法得出未知节点到信标节点的距离。
第五
-