搜索资源列表
计算几何算法
- 计算几何常用算法,包括点是否在多边型中,判定两条直线是否相交,平面最近点对-computational geometry algorithm commonly used, including whether a multilateral type in determining whether the intersection of two straight, the nearest point on Plane
zjdd
- VC++的“最近点对问题”,-VC "point to the recent problems," Guangguang 04:40
sgj3
- 考察例1 4 - 8中的1 4个点。A中的最近点对为(b,h),其距离约为0 . 3 1 6。B中最近点对为 (f, j),其距离为0 . 3,因此= 0 . 3。当考察 是否存在第三类点时,除d, g, i, l, m 以外 的点均被淘汰,因为它们距分割线x= 1的 距离≥ 。RA ={d, i, m},RB= {g, l},由 于d 和m 的比较区中没有点,只需考察i 即可。i 的比较区中仅含点l。计算i 和l 的距离,发现它小于,因此(i, l) 是最近
NNP
- 最近点对问题,输入数据生成器自动生成2位点对,输出制定电的最近邻-nearest point of the problem, the input data generator automatically generate two points right, electrical output of the nearest neighbor
zuijindiandui
- 算法分析里的最近点对问题的实现,一维的有传统的解决算法和分治技术解决的算法,及比较。附带实验报告
problem3
- 最近点对的随机算法 算法时间达到O(n)非常完美的实现了随机最近点对的功能
computationgeometry
- 我的计算几何模板,求3d凸包,计算最远点对(nlogn),求最近点对,和二维凸包
最近距离
- 距离最近的点对计算方法-a program for get the shortest path of two points.
二维最近点
- 该程序实现对二维数据轴上的最临近点的求解问题 采用方法:分治方法-procedures to achieve the two-dimensional data of the axis points near the methodology used to solve the problem : the administration
一维最近点(分治法)1
- 该程序实现对一维数据轴上的最临近点的求解问题 采用方法:分治方法1(该方法在递归时由于使用数组的值,使得递归进栈的数据很多,消耗系统空间很大,所以处理的个数经测试不超过70个,可见在设计程序时,考虑空间的使用也是很必要的!)-the process of achieving a dimensional data axis near the point of the methodology used to solve the problem : a partition method (the me
一维最近点(分治法)2
- 该程序实现对一维数据轴上的最临近点的求解问题 采用方法:分治方法(找出中位数,两边递归)-the process of achieving a dimensional data axis near the point of the methodology used to solve the problem : the administration (to identify the median on both sides, the recursive)
一维最近点(传统法)1
- 该程序实现对一维数据轴上的最临近点的求解问题 采用方法:计算每对顶点间的距离,比较之 效率为O(n2)-the process of achieving a dimensional data axis near the point of the methodology used to solve the problem : for each pair of vertices the distance, a comparison of the efficiency of O (n2)
一维最近点(传统法)2
- 该程序实现对一维数据轴上的最临近点的求解问题 采用方法:传统方法2:先排序,然后一次线性扫描,得到最近距离,时间复杂性O(nlogn)-the process of achieving a dimensional data axis near the point of the methodology used to solve the problem : The traditional two methods : first order, and then a linear scan, rece
ClosestPairPoint
- 实现查找一组给定点中的最近点对,通过分治方法将问题求解,简化问题的复杂性。-Lookup a group to the latest sentinel points right, adoption of the partition method of problem solving, simplifying the complexity of the problem.
ndp_src
- 用pascal实现寻找最近点对问题,以方便对pascal较熟悉的学习者参考。-used to find the nearest point on the issue, to facilitate the pascal more familiar reference learners.
divide.rar
- 分治法求解最近点对问题 求最近点对的分治算法实现,输入点对,输出最近点,Sub-rule method for nearest point on the nearest point on the issue of sub-rule algorithm, input points, output nearest point
Apoint
- 一维最近点对问题 通过输入一维点x的坐标,求得距离最近的点对和距离-One-dimensional nearest point of the problem by entering the coordinates of one-dimensional point x, obtained from the nearest point and distance
ClosetPairs
- 本算法使用分治法求解最近点对问题。事先用O(nlogn)时间对x坐标进行排序,使得所有的点是按x坐标从小到大排好序的(x坐标相同时y坐标小的排前),然后取下标小于n/2属于左边的点集PL,取下标大于n/2属于右边的点集PR,即用O(1)时间就可以将规模为n的问题分解为两个规模为n/2的、同类型的子问题。分割完毕之后就可以采用分治法,分别求出PL和PR中的最近点对,最终通过递归实现。-This algorithm uses divide and conquer to solve the probl
DivConquer
- 算法实验:1 分治法在数值问题中的应用 ——最近点对问题 2 减治法在组合问题中的应用——8枚硬币问题 3 变治法在排序问题中的应用——堆排序 4 动态规划法在图问题中的应用——全源最短路径问题 -Algorithm experiment: 1 divided numerical problems in the application- the nearest point to question 2 by governance problems in the applicati
algorithm_project2
- 这是求在一堆点中,找出最短距离的两个点对的算法问题。(Point pair problem with the shortest distance.)