-
huffman编码
给定信源符号概率,自动huffman编码,建立二叉树,打印符号编码,还可打印二叉树的外形,对于数据结构二叉树一节的学习很有帮助。
- 2023-03-03 15:40:03下载
- 积分:1
-
mallet_wavelet.m this function for research Mallet filter algorithm design and f...
mallet_wavelet.m
此函数用于研究Mallet算法及滤波器设计
此函数仅用于消噪-mallet_wavelet.m this function for research Mallet filter algorithm design and function only for denoising
- 2022-03-17 19:19:20下载
- 积分:1
-
本源码为图书管理系统,实现了密码登陆管理,图书基本信息的录入、修改、删除、查询,读者基本信息的录入、修改、删除、查询,实现了自动从系统取得借书时间,自动生成还原...
本源码为图书管理系统,实现了密码登陆管理,图书基本信息的录入、修改、删除、查询,读者基本信息的录入、修改、删除、查询,实现了自动从系统取得借书时间,自动生成还原时间,和自动对超期信息的统计-source for the library management system and realized the landing password management, basic information on the book entry, modification, deletion, inquiries, readers basic information on the entry, modification, deletion, inquiries, and realized from the system automatically library, automatic generation reduction, and automatic extended to the statistical information
- 2023-08-03 13:25:04下载
- 积分:1
-
KRUSKAL Algorithm
KRUSKAL算法-KRUSKAL Algorithm
- 2022-03-17 03:50:03下载
- 积分:1
-
文件中是我编写的两个数据结构,线性表列和链表,是用类模版函数编写,是面向过程设计...
文件中是我编写的两个数据结构,线性表列和链表,是用类模版函数编写,是面向过程设计-document is prepared by the two data structure, tabulated and linear chain and is prepared category template function, process-oriented design
- 2022-05-20 06:34:29下载
- 积分:1
-
实现二分法求解方程。编写并使用以下函数:
double SolveRoot(double(*pf)(double x),double a,double b,...
实现二分法求解方程。编写并使用以下函数:
double SolveRoot(double(*pf)(double x),double a,double b,int n)
这里,pf指向一个函数f,f用来定义要求解的方程f(x)=0,a和b是未知解x的上下界(即a
- 2022-05-10 10:45:06下载
- 积分:1
-
哈夫曼树和哈夫曼编码:
从终端输入若干个字符及其对应的整数,将整数作为结点的权值,建立哈夫曼树,然后对各字符进行哈夫曼编码。最后打印哈夫曼树和对应的哈夫曼编...
哈夫曼树和哈夫曼编码:
从终端输入若干个字符及其对应的整数,将整数作为结点的权值,建立哈夫曼树,然后对各字符进行哈夫曼编码。最后打印哈夫曼树和对应的哈夫曼编码。
设计要求:
⑴ 哈夫曼殊和哈夫曼编码的存储表示参考教材事例
⑵ 在程序中构造四个子程序为
① int createhtree(HTree *t) /*根据输入的字符及其权值建立哈夫曼树*/
② void coding(HTree *t, char *code) /*对哈夫曼树进行编码*/
③ void printhtree(HTree *t, int* path) /*中序打印树*/
④ void printcode(HTree *t) /*输出个字符的哈夫曼编码*/
-Huffman tree and the Huffman coding: input from the terminal a number of characters and their corresponding integer, will be an integer as node weights, the establishment of Huffman tree, and then on the characters Huffman. Finally print Huffman tree and the corresponding Huffman. Design requirements: ⑴ Huffman and Huffman coding is that the reference materials storage ⑵ examples constructed in the procedure for the four subroutines ① int createhtree (HTree* t)/* input characters in accordance with its right value the establishment of Huffman tree*/② void coding (HTree* t, char* code)/* Huffman tree to encode*/③ void printhtree (HTree* t, int* path)/* Pri
- 2022-01-22 06:46:42下载
- 积分:1
-
java程序实现的通俗易懂的二分查找的算法源代码
java程序实现的通俗易懂的二分查找的算法源代码-java program to achieve the user-friendly dichotomous search algorithm source code
- 2022-02-04 20:18:19下载
- 积分:1
-
C++数据结构图结构的类定义及有关算法
C++数据结构图结构的类定义及有关算法-C data structure definition of the class structure and the algorithm
- 2022-03-15 06:59:35下载
- 积分:1
-
一个商品销售系统
一个商品销售系统-a sales system
- 2022-03-30 10:11:29下载
- 积分:1