资源列表
Gaussian
- Numerical Methods- Gauss Elimination
quiksort
- 输入若干组长度各异的待排序列,分别用快速排序算法和改进的枢轴元素三者取中算法对待排序列进行排序,当待排子序列长度已小于 20时,改用直接插入排序,利用时间函数验证三者取中算法在效率上的提高。(提示: 待排序列的长度一般应为 5000 以上)-QuickSort&MiddleQuickSort
matlab_No5_spline
- 西交大数值计算方法上机作业,三次样条插值-National Chiao Tung University, West numerical method of machine operation, cubic spline interpolation
2
- 利用哈夫曼编码进行住处通讯可以大大提高信道利用率,缩短住处传输时间,降低成本,但是,这要求在发送端通过一个编码系统将传输的数据预先编码,在接收端通过一个译码系统对传来的数据进行译码(复原),对于双向传输信息的信道,每端都一个完整的编码译码系统,试为这样的住处收发站写一个哈夫曼友的编码译码系统.-Residence using Huffman coding can greatly improve the communication channel utilization, reduce tran
Mouse
- 电子老鼠闯迷宫 如下图12×12方格图,找出一条自入口(2,9)到出口(11,8)的最短路径。 -Chuang Electronic Mouse maze as illustrated 12 × 12 grid map, to find a self-entry (2,9) to export (11,8) shortest path.
number1
- 设n是一个k(1≤k≤80)位的十进制正整数。 问题:对于给定的任意整数n,编程求解满足p3+p2+3p≤n的p的最大值。 -Set n is a k (1 ≤ k ≤ 80)-bit decimal integer. Question: For a given any integer n, programming to solve the meet p3+ p2+3 p ≤ n the p maximum.
3
- 试设计一个用回溯法搜索排列空间树的函数。该函数的参数包括结点可行性判定函数和上界函数等必要的函数,并将此函数用于解圆排列问题。 圆排列问题描述如下:给定n 个大小不等的圆c1 , c2 ,..., cn ,现要将这n 个圆排进一个矩形框中,且要求各圆与矩形框的底边相切。圆排列问题要求从n 个圆的所有排列中找出有最小长度的圆排列。例如,当n=3,且所给的3 个圆的半径分别为1,1,2 时,这3 个圆的最小长度的圆排列是1,2,1,其最小长度为2 + 4*sqr(2)。 编程任务:
Huffman_code
- 霍夫曼编码实现,实现了8位数据输入的霍夫曼编码-Huffman coding to achieve, to achieve the 8-bit data input Huffman coding
bst
- binary search tree using binary tree to search and sort some programs
shensouguangsou
- 大学数据结构上机作业,C++语言写的深度搜索和广度搜索,练习并理解两种搜索的原理。-University of machine operation data structures, C++ language to write the depth and breadth of search search, practice and understand the principles of two search.
Inv
- 计算任意一个阶数的矩阵求逆,当矩阵可逆的时候,返回值是1和其逆矩阵,否则仅仅返回0-Calculating an arbitrary order of the matrix inversion, when the matrix is reversible when the return value is a matrix and its inverse, otherwise just return 0
1205
- Descr iption 已知Ackerman函数定义(见课本)。 输入只有两个整数:m n。 要求输出A(m,n)。 Input Format 输入文件包括一行,两个整数,m和n。 Output Format 输出文件包括一行,A(m,n)的值。-Descr iption known Ackerman function definition (see the textbook). Enter only two integers: mn. Re