-
我的串的比较算法实现
我的串的比较算法实现-my string comparison algorithm
- 2023-02-17 15:10:03下载
- 积分:1
-
数据结构与算法
完整C、C++代码,自己编写,均调试过,成功可用。对于初学数据结构与算法的同学很有帮助。
- 2022-04-02 01:41:40下载
- 积分:1
-
simulation program, an example can be reused for other apps.
一个数值计算程序的OpenMP的并行化代码,其中对循环部分的并行化可以做为参考-simulation program, an example can be reused for other apps.
- 2022-06-13 05:47:13下载
- 积分:1
-
一个潮流计算的程序,可以对不同数量节点的系统都适用。比较简单,希望对相关人员有用...
一个潮流计算的程序,可以对不同数量节点的系统都适用。比较简单,希望对相关人员有用-a flow calculation procedures, the number of nodes in different systems are applicable. Relatively simple, useful for the staff
- 2022-07-04 19:24:44下载
- 积分:1
-
使用 c + + 静态霍夫曼 (包括说明进行操作)
-第一,该程序将扫描压缩的文件并将输入的字符保存在文件中,(nhapDuLieu 函数),然后按常规字符出现的顺序进行排序。-接下来,用来加密数据,以创建哈夫曼树由 taoCayHuffman 方法 ()。数据将存储在输出文件中。后来当解码使用所存储的数据来生成用于减压的哈夫曼树。-使用 ListNode 是双重链接列表 HuffmanNode 存储。每个 HuffmanNode 7 组件,包括光标,左、 右。 + 符号是字符。 + 频率是相匹配的字符个数。 + 码字是对应的二进制数字的十进制表示形式。例如码字的 A 为 3,它对应于二进制代码 011。 + CodewordLen 存储位码字数量,以避免与 0011 混淆或 11 011 或 00011......+ RunLen 长度的字符的编码 () 操作相同原则: 例如,在原始输入文件中包含的字符串 AAAB,AAA 和码字存储在 110," 包 " 将节省码字它作为 4 个字节 (32 位),万人......为 000110 (32 位)。然后 B 是在存储和处理,B 的码字是 01-> 保存到 " 包 " 通过添加左侧 " 包 " 以前-> 000 个。000 110 01 (也就是 32 位) — — 的运作原则解码 (): 解码 () 操作简单编码 ()。首次创建数组数据 [] 用方法 nhapDoThuongXuyen (),然后由 taoCayHuffman () 构造的哈夫曼树最后在函数中解码的树和原始字符串 () 扫描
- 2022-10-30 11:20:02下载
- 积分:1
-
八皇后问题,C语言
八皇后问题,C语言-8, C Language
- 2022-03-05 03:26:29下载
- 积分:1
-
双曲线回归方程 HyperbolaRegress.cs
注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错...
双曲线回归方程 HyperbolaRegress.cs
注意!该模型要求a与b的值要大于0!使用该模型时应注意验证这个限制条件。我在实现模型时未加入任何出错流程控制。X不能为0。
方程模型为
public override double[] buildFormula()
得到系数数组,存放顺序与模型系数相反,即该数组中系数的值依次是b,a。
public override double forecast(double x)
预测函数,根据模型得到预测结果。
public override double computeR2()
-Hyperbola regression equation HyperbolaRegress.cs attention! The model demands a and b value is greater than 0! Caution should be taken when using the model verify the conditions of this restriction. I realize the model error is not to join any flow control. X should not to 0. Equation model for public override double [] buildFormula () get coefficient array, the storage order and model coefficients contrary, that is, the array is followed by the value of coefficient b, a. public override double forecast (double x) prediction function, according to the results of model prediction. public override double computeR2 ()
- 2022-02-07 00:59:29下载
- 积分:1
-
自己做的一个支持加减乘的大数类
自己做的一个支持加减乘的大数类-own support of a majority of the Modified by category
- 2023-01-31 03:55:03下载
- 积分:1
-
文件MD5 生产算法
char *MD5_file (char *path, int md5_len)
{
FILE *fp = fopen (path, "rb");
MD5_CTX mdContext;
int bytes;
unsigned char data[1024];
char *file_md5;
int i;
if (fp == NULL) {
fprintf (stderr, "fopen %s failed
", path);
return NULL;
}
MD5Init (&mdContext);
while ((bytes = fread (data, 1, 1024, fp)) != 0)
{
MD5Update (&mdContext, data, bytes);
}
MD5Final (&mdContext);
file_md5 = (char
- 2022-07-11 22:12:17下载
- 积分:1
-
成像测井阈值处理
关于图像分割方面的,可以将成像测井的图片加载进去,进行阈值分割,其中有灰度统计直方图,阈值分割以及将图像加载和显示界面,经过多次更改,保证能运行,界面简洁大方,欢迎下载交流
- 2022-08-23 14:31:16下载
- 积分:1