代码搜索:C 算法

找到约 10,000 项符合「C 算法」的源代码

代码结果 10,000
www.eeworm.com/read/345436/11815529

c 希尔排序算法.c

/*希尔排序<mark>算法</mark>: 基本思想:将整个无序序列分割成若干小的子序列分别进行插入排序。 序列分割方法:将相隔某个增量h的元素构成一个子序列。在排序过程中,逐次减小这个增量,最后当h减到1时,进行一次插入排序,排序就完成。增量序列一般采用:ht=2t-1,1≤t≤[log2n],其中n为待排序序列的长度。 <mark>C</mark>函数如下:*/ void prshl(p,n) int n;doubl ...
www.eeworm.com/read/212656/15151549

c 首次适应算法.c

#include #include #include #include #define getpch(type) (type*)malloc(sizeof(type)) /*/#define NULL 0*/ struct table{ char name[10]; char state
www.eeworm.com/read/212656/15151551

c 最佳适应算法.c

#include #include #include #include #define getpch(type) (type*)malloc(sizeof(type)) /*/#define NULL 0*/ struct table { char name[10]; char sta
www.eeworm.com/read/206761/15290187

c 遗传算法.c

/********************************************************************/ /* 遗传算法程序--优化函数(例子) */ /********************************************************************/