搜索资源列表
knapsack.ok
- 是一个背包算法程序,可以实现简单的背包原理算,对理解这一算法很有帮助。-this is a algorithm of napsake, can be achive application of napsake, it is useful to understanding the algorithm.
insertsort
- 插入法的基本工作原理是抽出一个数据,在前面的数据中寻找相应的位置插入,然后继续下一个数据,直到完成排序。-Insert the basic working principle of a data are drawn, in front of the data looking for the location of the corresponding insert, and then continue to the next data until the completion of sequenc
KMP
- KMP模式匹配算法的原理及应用 希望对为KMP头疼的同学有点用处!-KMP pattern matching algorithm and application of the principle
Garwick
- 这个课程项目完成了一个修改版的Garwick存储结构与查询设计。给定了一组数值, 如何以一定概率分布存储到表(table)中,然后再根据最大效率利用内存的原理(garwick规则),动态更新数据存储情况。-This course project has finished a modified version of Garwick algorithm. At first, a group of data is given then they are saved into the table wi
calculater
- 很短的表达式求值,利用了编译原理里面的只是构建的-A very short version of expression of evaluation, be builted using the principle of the compiler.
10253
- 本代码是在KMP算法上加以改进后,实现对一个字串求最长重复子序列。该算法可以与后缀树有相同原理。-The code is in the KMP algorithm be improved to realize for the longest string of a repeat sequence. The suffix tree algorithm with the same principle.
123
- 1. 掌握HUFFMAN树的建树和译码。 2. 深入理解HUFFMAN树的原理和执行步骤。 3. 理解HUFFMAN的存储结构。 -make your 11111111111
12315641315
- 1.输入n个结点的权值和字符,不断选择最小值和次小值建成HUFFMAN树,如果从叶结点开始向上遍历译成HUFFMAN编码。然后把每个字符对应的码值显示出来。 2.输入任意字符串,转化成HUFFMAN编码 3.输入任意HUFFMAN编码,转化为字符串。 原理: 从给定的叶子及树重中选择最小和次小的两棵树构成一棵新树,所得的和放入森林中继续比较,重复以上步骤,直到仅剩一棵树,即为哈夫曼树。 -make your 123156131554
datastruct
- 通过本次实验学会了外部函数以及全局变量的设 置方法,复习巩固了C 语言和数据结构的相关知识, 掌握了结构化程序设计的基本思想, 熟悉了结构以 及指针的设计和应用, 了解了综合系统设计的基本 原理,对存储数据结构有了更形象的理解,学会了几 个新的调试程序的方法, 培养了解决实际问题的编 程能力,C 语言程序的综合应用能力得到提高-Through this experiment learned to function and global variables outside
erchashusuanfa
- 主要讲解了二叉树算法的原理和应用,是不错的教程-Mainly on the principle of the binary tree algorithm and applications, is a good tutorial
main
- 智能指针的原理, 简单易懂, 不懂的同学可以看看源码, 调试一下。-The principle of the smart pointer, easy-to-read, the students do not look at the source, click Debugging.
xianxingbiao
- 分析了线性表的实现原理,是学习数据结构的好例子-Analysis of a linear table implementation principle is to learn a good example of the data structure
hufman
- 依据图论中最小生成树的原理,实现了霍夫曼树的建立 编码和译码-To achieve the establishment of the Huffman tree coding and decoding
lexical_analysis
- 编译原理课程作业,词法分析器。简单的对于一段C程序进行词法分析-Compiler theory course work, lexical analyzer
Dynamic_Programming
- 本文介绍了动态规划的基本原理及其在企业经营决策中的运用方法-Dynamic Programming in the application of business decision-making
Rails
- 数据结构 线性表 栈 理解栈FILO的原理的ACM题 火车站模拟栈 有注释-Data structure Stacks Rails
kmp_char
- KMP算法的C++实现完整代码。可以帮助初学者理解KMP算法的原理。-KMP algorithm to achieve a complete C++ code. KMP algorithm can help beginners to understand the principle.
3
- 实现二分法求解方程。编写并使用以下函数: double SolveRoot(double(*pf)(double x),double a,double b,int n) 这里,pf指向一个函数f,f用来定义要求解的方程f(x)=0,a和b是未知解x的上下界(即a<=x<=b), n是循环次数。例如,如果f(x)=x*x-2,则SolveRoot (f,1,2,100)将返回1.414213562373095, 即方程为x*x=2的解。二分法的原理是反复地把区间分为两个
software
- 主要实现软件技术中的二叉树的遍历 数据的查找 多种排序法 文件里包括代码和原理-Main software technology to achieve the binary tree traversal Data Find A variety of sorting method Files, including code and principles of
dxsjjc
- 多项式加减乘 用数据节够得算法实现多项式的加减乘 原理简单易懂-suoxiangshi jiajiancheng