-
哈夫曼树的应用
哈夫曼树又称最优二叉树,是一种带权路径长度最短的二叉树。所谓树的带权路径长度,就是树中所有的叶结点的权值乘上其到根结点的路径长度(若根结点为0层,叶结点到根结点的路径长度为叶结点的层数)。树的带权路径长度记为WPL=(W1*L1+W2*L2+W3*L3+...+Wn*Ln),N个权值Wi(i=1,2,...n)构成一棵有N个叶结点的二叉树,相应的叶结点的路径长度为Li(i=1,2,...n)。可以证明哈夫曼树的WPL是最小的。
- 2022-07-11 16:27:25下载
- 积分:1
-
fortran90 procedures, the use of Runge
fortran90程序,运用Runge-Kutta法数值求解常微分方程的程序,非常适用,包括源代码、一个算例和输出程序-fortran90 procedures, the use of Runge-Kutta method for numerical solution of ordinary differential equations of the process, is very applicable, including source code, a numerical example and output procedures
- 2022-06-21 02:50:43下载
- 积分:1
-
odd N bands Demon Lineup : N
奇数N 阶魔方阵问题: 奇数N 阶魔方阵的构造规则如下: 1、在第一行的正中间填入1; 2、如果左上角能够移动,则往左上角填入后继的数;如果左上角不 能移动,则顺移到该列最下方左边的一列中最靠近该列的位置; 3、如果左上角不能移动,同时在该列位置的最下方左边最靠近的位 置处也不能填入数,则往该位置的上一行的最右边的位置处填入 后继数; 4、每次尽可能地往左上角填数,如果发现左上角已经填满了数,则 从当前填的数的位置下方填上后继数。 要求: 无。 输入: 用户从键盘任意输入一个正奇数。 输出: 打印出该魔方阵。-odd N bands Demon Lineup : N-odd magic Lineup Construction Rules are as follows : 1, the first line is the middle of a preference; Two, if the upper left corner to Mobile, the successor to fill in the upper left; If the upper left corner, unable to move, with the move out of the bottom of the left one of the closest out of position; three, if the upper left corner, unable to move, while in the position shown in the bottom left nearest location Department has not entered a few, to the position of the party on the right side of the positions filled successor; 4, each possible to fill the upper left corner, if fill the upper left corner, has found a few, from the current fill several positions to fill in the bottom subsequent few. Requ
- 2022-01-21 19:39:47下载
- 积分:1
-
刚刚下载的指纹识别程序,我还没来的及看呢?
刚刚下载的指纹识别程序,我还没来的及看呢?- Just downloaded the fingerprint recognizer, I have not come
and look?
- 2022-05-31 08:55:55下载
- 积分:1
-
在去噪算法的旅行商问题的大文章
Great articles on noising method algorithm for travelling salesman problem-Great articles on noising method algorithm for travelling salesman problem
- 2023-05-10 03:45:03下载
- 积分:1
-
And summed相加求和
飞思卡尔单片机的程序,是大学老师和学生的不错选择,也是程序员的选择,也是期末考试时的必备法宝,你们一定会考的试题,虽然基础但又有难度,故飞思卡尔c语言和汇编程序在此。我不知道够不够50自,如果不够就算了,这个事情很简单,下载即可不说废话相加求和
- 2023-06-04 08:35:03下载
- 积分:1
-
writing mathematical function call library, LU decomposition, high Shisaideer it...
自编数学函数调用库,有LU分解法,高斯塞德尔迭代法,追赶法解线性方程组,还有一维和二维的高斯积分公式-writing mathematical function call library, LU decomposition, high Shisaideer iterative method, catching up with the method for solving linear equations, one-and two-dimensional Gaussian integral formula
- 2023-08-06 04:30:03下载
- 积分:1
-
dobbs编缉器升级版的C语言源程序
dobbs编缉器升级版的C语言源程序-Dobbs editor for an updated version of the C language source
- 2022-10-09 14:30:03下载
- 积分:1
-
DESIGN OF STEEL STRUCTURES
DESIGN OF STEEL STRUCTURES
- 2023-04-30 22:35:03下载
- 积分:1
-
Lagrange interpolation, have done an interpolation algorithm
Lagrange插值,自己做的一个插值算法-Lagrange interpolation, have done an interpolation algorithm
- 2022-04-10 18:22:17下载
- 积分:1