登录
首页 » 算法 » 分治策略-最邻近点对

分治策略-最邻近点对

于 2022-05-06 发布 文件大小:7.54 MB
0 232
下载积分: 2 下载次数: 1

代码说明:

给定平面上n个点,找其中的一对点,使得在n个点的所有点对中,该点对的距离最小。严格地说,最接近点对可能多于1对。这里只限于找其中的一对。

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

发表评论

0 个回复

  • 面部识别
    人脸检测源代码,这是非常强大的算法。用户的网络摄像机和IP摄像机的识别
    2022-08-03 00:47:50下载
    积分:1
  • rapid sequencing and Bubble Sort
    快速排序和冒泡排序-rapid sequencing and Bubble Sort
    2023-03-21 16:40:03下载
    积分:1
  • 本源码包括矩阵运的基本功能,包括矩阵加减、乘除、转置、求逆...
    本源码包括矩阵运算的基本功能,包括矩阵加减、乘除、转置、求逆-the source of matrix of the basic functions, including matrix addition and subtraction, multiplication and division, to home, the inverse
    2023-02-05 23:15:03下载
    积分:1
  • 多维度的K-mean均值聚类
    1、运行前设置args[]参数为文件名2、采用欧氏距离作为度量3、支持多维度的点聚类4、导入工程,设好参数即可运行。5、作者原创。欢迎交流。
    2022-03-02 03:23:52下载
    积分:1
  • 在powerbuilder 7.0中实现md5的,下载后直接导入到pbl库文件中,即可使用。...
    在powerbuilder 7.0中实现md5的算法,下载后直接导入到pbl库文件中,即可使用。-in powerbuilder 7.0 achieving md5 algorithm downloaded directly into the pbl the document can be used.
    2022-08-26 09:14:52下载
    积分:1
  • 审核ISBN的另一,或许不是最好的,但至少是鄙人刚学编程时的想。在此各大家共勉。...
    审核ISBN的另一算法,或许不是最好的,但至少是鄙人刚学编程时的想法。在此各大家共勉。 -audit ISBN another algorithm, perhaps not the best, but at least I am just learning programming ideas. Here we all share.
    2022-04-07 22:31:42下载
    积分:1
  • 粒子群
    粒子群算法,gbest,和pbest,轻松实现,十分实用
    2022-05-16 16:19:06下载
    积分:1
  • 发现部分的总和
    它是简单的源代码部分总和的计算解释。 (o (n),O(1)),在那里O (n)-准备,O (1)-计算结果
    2022-08-25 08:12:33下载
    积分:1
  • 数据结构--C语言-Demo
    #ifndef _BINARY_TREE_H_INCLUDED#define _BINARY_TREE_H_INCLUDED#include #include templatestruct Bintree_node {T element;Bintree_node* lchild;Bintree_node* rchild;explicit Bintree_node(const T& elem=T(), Bintree_node* lchd=0, Bintree_node* rchd=0): element(elem), lchild(lchd), rchild(rchd) {}};templateclass Binary_tree {public:typedef Bintree_node* PBtn;Binary_tree();virtual ~Binary_tree();void clear();int depth() const;int size() const;virtual PBtn find(const T& elem) const=0;virtual void insert(const T& elem)=0;virtual void erase(const T& elem)=0;virtual void print(std::ostream& output) const=0;void print_tree(std::ostream& output) const;protected:
    2022-01-29 04:39:50下载
    积分:1
  • 字符串周期
    如果一个字符串可以由某个长度为k的字符串重复多次得到,我们说该串以k为周期。例如,abcabcabcabc以3为周期(注意,它也可以6和12为周期,结果取最小周期3)。字符串的长度小于等于100,由调用者保证。详细描述:接口说明原型:int GetMinPeriod(char *inputstring);输入参数:char * inputstring:字符串返回值:
    2023-05-31 15:20:04下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载