搜索资源列表
huffmancode111
- huffman完整源代码C语言实现,有本人超级详细解释(看不懂你去跳楼吧) 算法设计: 1、对给定的n个权值{W1,W2,W3,...,Wi,...,Wn}构成n棵二叉树的初始集合F={T1,T2,T3,...,Ti,...,Tn},其中每棵二叉树Ti中只有一个权值为Wi的根结点,它的左右子树均为空。(为方便在计算机上实现算法,一般还要求以Ti的权值Wi的升序排列。) 2、在F中选取两棵根结点权值最小的树作为新构造的二叉树的左右子树,新二叉树的根结点的权值为其左右子树的根结点的权值之
67
- 一, 一般步骤 (1),消除或减小恒定系差 (2),求测量数据的数学期望 ,即算术平均值 : , 其中n为测量数据次数, 为第 次测量的数据。 (3),求剩余误差 : (4),根据贝塞尔公式求标准偏差 : (5),检查是否有粗大误差。检查时用了肖维纳准则。如果某次测量的结果 所对应的 ,则认为是坏值,予以剔除。 (6),如有坏值,剔除后重新进行步骤(2)~(5)的计算,直至无坏值为止。 (7),判断有无变值系差。判断是可用马利科夫准则或阿卑—赫梅
mulal
- This is the machine-generated representation of a Handle Graphics object and its children. Note that handle values may change when these objects are re-created. This may cause problems with any callbacks written to depend on the value of the ha
pentaho_data-1.2.0.534-GA
- A complete business intelligence platform that includes reporting, analysis (OLAP), dashboards, data mining and data integration (ETL). Use it as a full suite or as individual components that are accessible via web services. Ranked #1 in open source
adaptive-signal-arithmetic
- Some algorithms of variable step size LMS adaptive filtering are studied.The VS—LMS algorithm is improved. Another new non-linear function between肛and e(/ t)is established.The theoretic analysis and computer simulation results show that this algo
twice_OPt_prime
- 两次素数筛选算法源程序!先筛选sprt(n)内的素数,再选n内的素数,些算法更快~主要用VC实现-two prime screening algorithm source! Sprt first screening (n) the prime, n re-election of prime numbers, some faster-key algorithm with VC
Computer_NN
- 刚才没注意,上传的是.c文件,重新上传,忘谅解! 精确计算N的N次方,并完整显示结果!-just did not know, upload yes. C document, re-upload, forget understanding! N precise calculation of the N-th power and integrity of the result will be displayed!
约瑟夫
- 约瑟夫问题的一种描述是:编号为1,2,…,n的n个人按顺时针方向围坐一圈,没人持有一个密码。一开始人选一个正整数作为报数上限值m,从第一个人开始按顺时针自1开始报数,报到m是停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。-a descr iption of the problem is : No. 1, 2, ..., n n clockwise direction by individuals sitting a
用c实现的约瑟夫环问题
- 约瑟夫问题有原始的约瑟夫和发展了的约瑟夫两种。 原始的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,他有一条荒唐的法律,将犯人站成一个圆圈,从第S个人开始数起,每数到第D个犯人,就拉出来处决,然后再数D个,数到的人再处决———直到剩下的最后一个可赦免。 发展的约瑟夫的描述: 古代某法官要判决N个犯人的死刑,但这N个人每人持有一个密码,他有一条荒唐的法律,将犯人站成一个圆圈,法官先给出一个密码M,从第S个人开始数起,每数到第M个犯人,就拉出来处决,再根据这个人所持有的密码F,然后再数F个,数到的
hyplas
- ************************************************************************ * * * * * THIS IS THE H Y P L A S 2.0 README FILE * * ----------------- * * * * HYPLAS is a finite element program for implicit small and large * * strain analisys of hyperelast
joke
- 约瑟夫环问题:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列。-Josephus problem: Let numbered 1,2,3, ... ..., n of n (n>
Josephus.rar
- 编号为1,2,3,……,n的n个人按顺时针方向围坐一圈。任选一个正整数作为报数上限m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,从他在顺时针方向上的下一个人开始重新从1报数,如此下去,直至所有人全部出列为止。,Numbered 1,2,3, ... ..., n of n individuals according to a clockwise direction around a circle. Choose a positive integer as the
yuesefu
- 约瑟夫环问题:设编号为1,2,3,……,n的n(n>0)个人按顺时针方向围坐一圈,每个人持有一个正整数密码。开始时任选一个正整数做为报数上限m,从第一个人开始顺时针方向自1起顺序报数,报到m是停止报数,报m的人出列,将他的密码作为新的m值,从他的下一个人开始重新从1报数。如此下去,直到所有人全部出列为止。令n最大值取30。要求设计一个程序模拟此过程,求出出列编号序列。-Josephus problem: Let numbered 1,2,3, ... ..., n of the n (n&
Language_model_learning_in_English
- state of art language modeling methods: An Empirical Study of Smoothing Techniques for Language Modeling.pdf BLEU, a Method for Automatic Evaluation of Machine Translation.pdf Class-based n-gram models of natural language.pdf Distributed Lang
rbtree
- 红黑树是一种自平衡二叉查找树,是在计算机科学中用到的一种数据结构,典型的用途是实现关联数组。-AVL trees are actually easier to implement than RB trees because there are fewer cases. And AVL trees require O(1) rotations on an insertion, whereas red-black trees require O(lg n). In practice, the
Josephus
- MFC编程实现约瑟夫环(编号为1—n的n个人按顺时针方向围坐一圈,首先从第m个人开始按顺时针方向从1开始依次报数,报到数m的人就出圈,然后再从他的下一个人开始,重新从1开始报数,报到m的人,再令其出列,一直到所有人都出圈为止。求出n个人的出列编号序列。)-MFC Programming Joseph Central (numbered 1-n n-person sitting clockwise circle, starting with the first m individuals to e
2
- 约瑟夫环(Joseph)问题的一种描述是:编号1,2,┉,n的n个人按顺时针方向围坐一圈,每个人持有一个密码(正整数),一开始,任选一个正整数作为报数上线值m,从第一个人开始按顺时针方向自1开始顺序报数,报到m时停止报数。报m的人出列,将他的密码作为新的m值,从他在顺时针方向上的下一个人开始重新从1开始报数,如此下去,直至所有人全部出列为止。设计一个程序求出出列顺序。-Joseph Ring (Joseph) a descr iption of the problem is: No. 1,2,
qrtrannnn
- 功能:对矩阵A的左上角的m阶对角块作QR变换:先用Givens变换作QR分解A=QR, 再作相似变换A:=Q AQ=RQ. 输入: n阶HessenbergA,其中A(m+1,m)=0,m>2. 输出: 变换后的Hessenberg形矩阵A. 2 用基本QR算法求实方阵的全部特征值.-Function: the upper left corner of the matrix A, diagonal blocks of order m to QR transfor
orbita_sunsync
- Orbita.m Programa para dibujar un periodo de la orbita de un satélite apartir de los parámetros orbitales Programado a partir de la hoja TUNDRA2.pdf Ramon Martínez, 20-12-2006 Parámetros k=398613.52 en (km^3)/(s^2) Re = 6377 km
N-huanghou
- 人工智能中的经典算法之一。对问题的多个分支选择一支进行探索,当探索到某一步时,发现原先选择并不优或达不到目标,就退回一步重新选择 回溯法适合用栈实现。探索过程当中入栈,退栈时返回分支选择的现场 -One of the classic algorithms in artificial intelligence. Multiple branches of the problem, choose one to explore, explore a step that the original
