-
NaiveBayes on how to classfiy texts
朴素贝叶斯算法分类源代码,vc6.0编写-NaiveBayes on how to classfiy texts
- 2022-11-18 21:55:03下载
- 积分:1
-
一个求解Josephus问题的函数
#include
#include
#define NULL 0
#include
typedef struct Lnode
{
int data;
struct Lnode *next;
}Josephus;
void CreateList(Josephus*&L,int n)//建立循环链表
{
int i;
Josephus *p,*s;
s=(Josephus*)malloc(sizeof(Josephus));
s->data=1;
L=p=s;
for(i=2;idata=i;
p->next=s;
p=s;
}
p->next=L;
}
void DeleteList(Josephus*&L,Josephus*p,Josephus*q)
{
q->next=p->next;
free(p);
}
void Josephus1(Josephus*&L,int s,int m)
- 2022-01-27 23:12:59下载
- 积分:1
-
产生随机数相关的C程序
产生随机数相关的C程序-generated random numbers related to the C program
- 2023-06-24 17:25:03下载
- 积分:1
-
This the cpp file for basic fixed size matrix operations etc.
This the cpp file for basic fixed size matrix operations etc. -This is the cpp file for basic fixed size matrix operations etc.
- 2022-03-07 02:56:32下载
- 积分:1
-
贝叶斯网络学习算法――k2算法,包括对贝叶斯网络结构的学习,最后生成网络...
贝叶斯网络学习算法――k2算法,包括对贝叶斯网络结构的学习,最后生成网络-Bayesian network learning algorithm- k2 algorithms, including Bayesian network structure learning, the last generation network
- 2022-04-07 02:05:04下载
- 积分:1
-
基因表达
public override float CalculateFitness()
- 2023-04-09 05:10:03下载
- 积分:1
-
计算作图的源程序
计算作图的源程序-calculated mapping of the source
- 2022-06-11 22:14:30下载
- 积分:1
-
基于蚁群优化的图像边界检测
应用背景图像边缘是很重要的视觉信息,边缘检测在图像处理和机器视觉中占据着重要位置。通过边缘检测勾画出目标物体的轮廓,达到目标识别的目的。传统的边缘检测方法是基于空间运算的,借助空域微分算子利用卷积来实现,主要起到高通滤波的作用,如Sobel边缘算子、Roberts边缘算子、Krisch边缘算子、高斯2拉普拉斯边缘算子等关键技术
信息激素(Pheromone)作为蚂蚁选择后续行为的依据,并通过蚂蚁间的协同与交互来完成全局寻优搜索过程。该算法具有强鲁棒性、正反馈性和分布式处理等特点,已被成功用于解决许多诸如TSP问题、图着色问题等复杂问题。但用于图像处理领域,国内外的研究还比较少,韩彦芳等人利用蚁群算法提出了基于模糊聚类的图像分割方法,本文则利用蚁群算法提出了一种新的图像边缘检测方法。将一群蚂蚁随机放置到图像中,根据蚁群算法的路径选择机制,使蚂蚁以较大的概率选择图像边缘点作为下一步移动目标位置,经过多次循环迭代最终使大多数蚂蚁聚集到图像边缘上,从而提取出图像的边缘。
- 2022-01-26 06:14:24下载
- 积分:1
-
哈夫曼编码和解码系统,并可对文件进行编码
哈夫曼编码和解码系统,并可对文件进行编码-Huffman coding and decoding system, the documents can be encoded
- 2022-04-10 18:08:36下载
- 积分:1
-
数值分析算法Guase_Seidel迭代
数值分析算法Guase_Seidel迭代-numerical analysis algorithm Iterative Guase_Seidel
- 2022-01-28 18:01:14下载
- 积分:1