登录
首页 » Visual C++ » closest_pair

closest_pair

于 2013-12-07 发布 文件大小:644KB
0 367
下载积分: 1 下载次数: 4

代码说明:

  分治法思想,求最邻近点对,考虑将所给的n个点的集合S分成2个子集S1和S2,每个子集中约有n/2个点,然后在每个子集中递归地求其最接近的点对(Divide and conquer ideas, find the nearest point to consider given the set S of n points into two subsets S1 and S2, each subset of about n/2 points, and then recursively find its focus in each sub-the closest point)

下载说明:请别用迅雷下载,失败请重下,重下不扣分!

发表评论

0 个回复

  • ChiToLetter
    vc++将汉字转换成拼音的程序源代码,非常有意思,它不单纯转换为拼音,而且还可以设置分隔符,按规则转换:全部转换成大写、全部转换成小写、将首字母大写,还可以转换为现在流行的拼音首字母简写,也就是只取拼音首字母,按大写或小写提取,看来确实非常有意思也非常实用哦。(vc++ will be converted into Chinese characters spelling the source code, very interesting, it does not simply converted to Pinyin, but also can be set separators in accordance with the rules of conversion: the conversion of all upper case, all converted to lowercase to uppercase the first letter, but also can be converted to Pinyin is now the first letter of the popular shorthand, that is, only the first letter of alphabet, based on extraction of upper or lowercase, it seems very interesting indeed Oh also very practical.)
    2009-07-16 22:20:28下载
    积分:1
  • TelBook
    能实现添加,删除,查找,拨号等基本功能。当然还用到了windows皮肤,很漂亮的哟(Able to add, delete, search, dial-up and other basic functions. Of course, also used the windows skin, very beautiful yo)
    2013-07-21 07:27:35下载
    积分:1
  • sumDate
    日出日落计算,可以根据经纬度计算 日出日落时间(Sunrise and sunset calculations)
    2013-05-16 08:50:01下载
    积分:1
  • MyCalculator
    基于MFC编写的简单计算器Visual C++程序(Write a simple calculator based on MFC Visual C++ program)
    2010-08-20 12:59:39下载
    积分:1
  • 12
    说明:  下面是一个结构体声明: struct box { char maker[40] float height float width float length float volume } a. 编写一个函数,按值传递box结构,并显示每个成员的值 b. 编写一个函数,传递box结构的地址,并将volume成员设置为其他三维长度的成绩。 c. 编写一个使用这两个函数的简单程序 (Here is a structure declaration: struct box {char maker [40] float height float width float length float volume } a. Write a function that is passed by value box structure, and shows the value of each member b . to write a function, passing the address box structure and volume settings for the other three members of the length of the results. c. use these functions to write a simple program)
    2013-06-02 17:27:08下载
    积分:1
  • file_manage_system_VB
    一个兼具有excel一样的多文档功能,同时具有word的文档编辑和格式编辑功能(One and the same with excel multiple document features, but also has word document editing and formatting editing functions)
    2013-08-09 10:19:44下载
    积分:1
  • ski_way
    Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向 下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道在一 个区域中最长的滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。 (Michael likes to ski hundred This is not surprising, because the skiing is very stimulating indeed. However, in order to obtain speed, Waterloo regional must be downward-sloping, and when you slide into the base, you have to embark once again on the slope or to set you waiting for lifts. Michael would like to know the longest in a landslide area. Region is given by a two-dimensional array. Each figure represents an array of high points.)
    2008-08-25 11:19:18下载
    积分:1
  • 3
    说明:  Description Michael喜欢滑雪百这并不奇怪, 因为滑雪的确很刺激。可是为了获得速度,滑的区域必须向下倾斜,而且当你滑到坡底,你不得不再次走上坡或者等待升降机来载你。Michael想知道载一个区域中最长底滑坡。区域由一个二维数组给出。数组的每个数字代表点的高度。elements in that rectangle. In this problem the sub-rectangle with the largest sum is referred to as the maximal sub-rectangle. ()
    2008-05-13 20:26:52下载
    积分:1
  • caculator_basedon_dialog
    我自己写的一个基于对话框的计算器,很有参考价值。(I wrote a dialog on the calculators, great reference value.)
    2007-01-07 15:55:22下载
    积分:1
  • jjjxm
    包含光伏电池模块、MPPT模块、BOOST模块、逆变模块,基于欧几里得距离的聚类分析,MIMO OFDM matlab仿真。( PV modules contain, MPPT module, BOOST module, inverter module, Clustering analysis based on Euclidean distance, MIMO OFDM matlab simulation.)
    2017-05-03 16:17:30下载
    积分:1
  • 696518资源总数
  • 106259会员总数
  • 28今日下载