#include#include#include"alloc.h"#include"error.h"#include"cluster.h"#defineNONE(-2)#defineBUFSIZE256#ifndefSCALE#defineSCALE"_SCALE_"#endif#ifndefDONTCARE#defineDONTCARE"D/C"#endif#ifndefMAXFLOAT#define    MAXFLOAT       ((float)3.40282346638528860e+38)#endifstaticFLOAT  distance();staticFLOAT  root();staticFLOAT  cure_distance();staticvoid   merge();-IMDN开发者社群-imdn.cn"> #include#include#include"alloc.h"#include"error.h"#include"cluster.h"#defineNONE(-2)#defineBUFSIZE256#ifndefSCALE#defineSCALE"_SCALE_"#endif#ifndefDONTCARE#defineDONTCARE"D/C"#endif#ifndefMAXFLOAT#define    MAXFLOAT       ((float)3.40282346638528860e+38)#endifstaticFLOAT  distance();staticFLOAT  root();staticFLOAT  cure_distance();staticvoid   merge(); - IMDN开发者社群-imdn.cn">
登录
首页 » 算法 » linux下的cure聚类算法

linux下的cure聚类算法

于 2023-07-29 发布 文件大小:41.93 kB
0 156
下载积分: 2 下载次数: 1

代码说明:

是linux下的cure算法,比较完整 #if !defined(lint) && !defined(SABER) static char rcsid[] = "$Header: /usr/src/local/conn/cluster/RCS/cluster.c,v 1.23 1993/02/03 07:43:07 stolcke Exp $"; #endif    /* not lint */ #include #include #include #include "alloc.h" #include "error.h" #include "cluster.h" #define NONE (-2) #define BUFSIZE 256 #ifndef SCALE #define SCALE "_SCALE_" #endif #ifndef DONTCARE #define DONTCARE "D/C" #endif #ifndef MAXFLOAT #define     MAXFLOAT        ((float)3.40282346638528860e+38) #endif static FLOAT   distance(); static FLOAT   root(); static FLOAT   cure_distance(); static void    merge();

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

发表评论

0 个回复

  • 一个简单的,本源代码给出了16只队伍,进行双循环的赛程编排...
    一个简单的算法,本源代码给出了16只队伍,进行双循环的赛程编排-a simple algorithm, the source code is 16 teams, double-scheduling cycle race
    2023-01-31 12:35:04下载
    积分:1
  • rotating an image
    在这里,我已经旋转了一个图像使用轨迹栏。然后用户可以手动旋转所需的角度。
    2022-12-01 13:00:03下载
    积分:1
  • FFT
    详细讲解了FFT的原理,使一些基础知识,不过还是非常实用的-FFT
    2022-06-27 21:19:02下载
    积分:1
  • This program evaluates mathematical expressions to output a single number e.g. 1...
    This program evaluates mathematical expressions to output a single number e.g. 1+1 will give 2. It can handle brackets indices and modulation(rounding) as well and ordinary operators.
    2022-03-13 14:25:29下载
    积分:1
  • 统计一个txt文件中字符的个数和单词的个数 可以指定文本文件中搜索指定字符...
    统计一个txt文件中字符的个数和单词的个数 可以指定文本文件中搜索指定字符-a txt document the number of characters and words can specify the number of text files to search for the designated characters
    2022-03-13 00:17:30下载
    积分:1
  • DSP(TMS320F28335) + FPGA(XC3S500E) 控制步进电机例程源代码、原理图
    应用背景DSP(TMS320F28335) + FPGA(XC3S500E) 控制步进电机例程源代码、原理图关键技术本程序是在28335的基础上得到的一种控制步进电机的方法,经过本人调试能够得到较好的效果。
    2022-08-21 13:21:31下载
    积分:1
  • C的Kalman滤波,C++和Matlab程序
    Kalman filter的C,C++及matlab程序-Kalman filter of the C, C++ and matlab programs
    2022-02-24 11:10:58下载
    积分:1
  • C语言进行图像处理(入门的经典)
    资源描述本代码使用C语言戳图像处理基本的处理,包括读取显示,涉及到很多基础的知识,包括文件头和指针各种等,对学习C语言和图像处理的各种基本知识都有着一定的帮助,欢迎大家下载,一起进步,一起学习。代码注释详细,可阅读行强,希望大家喜欢,欢迎下载哦。
    2023-03-15 20:50:04下载
    积分:1
  • 贝叶斯(matlab编写) 安装,添加目录 /home/ai2/murphyk/matlab/FullBNT...
    贝叶斯算法(matlab编写) 安装,添加目录 /home/ai2/murphyk/matlab/FullBNT-Bayesian algorithm (Matlab preparation) installed, add directory/home/ai2/murphyk/matlab/FullBNT
    2022-02-14 03:59:10下载
    积分:1
  • 适用于 Pygame 的 Python 线交叉
    翻译 maninwest@Codeforge 作者:raildude@CodeProject计算 2 D 线段交点(如存在)的算法这是种应用代数的练习题, (尤其是方程  y = mx + b, 所谓的线性方程的斜截式).背景我有个  Python 的 3d 查看应用程序,使用 Pygame 做 UI。 它有线框显示和原始的"隐藏表面移除"选项。我想添加一个隐藏线移除的选项,因为Pygame 好像不支持 "空心多边形" 绘制方法. 我想此代码可能是向该方向迈出的一步。稍后,我发现 MeshLab 可以提供我想要的功能..使用代码你需要安装  Python和  Pygame。或者,你可以提取四个函数 (slope(), y_intercept(), intersect() & segment_intersect()) 并在合适的地方使用。
    2022-03-15 12:00:57下载
    积分:1
  • 696516资源总数
  • 106914会员总数
  • 0今日下载