资源列表
HuffManSLN (1)
- 霍夫曼编码使用变长编码表对源符号(如文件中的一个字母)进行编码,其中变长编码表是通过一种评估来源符号出现机率的方法得到的,出现机率高的字母使用较短的编码,反之出现机率低的则使用较长的编码,这便使编码之后的字符串的平均长度、期望值降低,从而达到无损压缩数据的目的。(Huffman Hoffman uses a variable length encoding encoding encoding table of source symbols (such as file in a letter) f
决策树java代码1
- 决策树可对数据进行分类,选出最大增益属性。(Decision tree can be classified data, select the maximum gain attribute.)
Cplex1
- 关于经济规划的Cplex程序 可以和matlab联合仿真(The Cplex program on economic planning can be combined with MATLAB)
QuickSort
- 改进的基于c++的快速排序算法排序算法大体可分为两种: 一种是比较排序,时间复杂度O(nlogn) ~ O(n^2),主要有:冒泡排序,选择排序,插入排序,归并排序,堆排序,快速排序等。 另一种是非比较排序,时间复杂度可以达到O(n),主要有:计数排序,基数排序,桶排序等。(Improved fast sorting algorithm based on C ++)
InsertSort1
- 改进的基于c++的插入排序算法。排序算法大体可分为两种: 一种是比较排序,时间复杂度O(nlogn) ~ O(n^2),主要有:冒泡排序,选择排序,插入排序,归并排序,堆排序,快速排序等。 另一种是非比较排序,时间复杂度可以达到O(n),主要有:计数排序,基数排序,桶排序等。(Improved C ++ Based Insertion Sorting Algorithm. There are two kinds of sorting algorithms: one is sort
MergeSort
- 改进的基于c++的归并排序算法。排序算法大体可分为两种: 一种是比较排序,时间复杂度O(nlogn) ~ O(n^2),主要有:冒泡排序,选择排序,插入排序,归并排序,堆排序,快速排序等。 另一种是非比较排序,时间复杂度可以达到O(n),主要有:计数排序,基数排序,桶排序等。(Improved c ++ based merge sort algorithm. There are two kinds of sorting algorithms: one is sorting, th
七种排序算法
- 本例程是对于冒泡、插入,归并等7种排序算法的程序实现,归纳在一起可做比较(This routine is a program implementation of 7 sorting algorithms, such as bubbling, inserting, merging, and so on.)
jd-gui
- 先尝试用最简单的想法去实现排序,以此来比较学习冒泡排序 问题:设有一数组,其大小为10个元素(int str[10])数组内的数据是无序。现在要求我们通过编程将这个无序的数组变成一个从小到大排序的数组(从下标为0开始) 思路:按照题目的要求,毫无疑问,正确的结果应该就像这样: 1 2 3 4 5 6 7 8 9 10 要做到这样,最简单和最直接想到的方法就是进行对比交换。 首先,把10个数里最小的个数放到下标为0的位置上(str[0]) 通过将下标为0的数(str[0
DP
- 有两个小程序,都是动态规划的思想,对于回文字符串的应用,体现了动态规划的特点(There are two programs,which are both the applications of dynamic programming.)
算术表达式求值演示
- 用栈实现算术表达式求值,另有MFC制作的图形界面(Arithmetic expression evaluation by stack, and graphical interface made by MFC)
huffman
- huffman implementation
Linked List
- Linked list source in C++ (Data structures)
