搜索资源列表
++cifafenxicompiler
- 编译原理的实验--设计一个词法分析器,可以识别C中的关键字和各种符号-compiler principle experiments -- design a lexical analyzer can identify C keywords and various symbols
Strassen_8
- Strassn关于两个矩阵相乘的算法,同过分治原理把两个n*n的矩阵阶各分解成四个n/2*n/2阶的矩阵,当分解出来的矩阵阶数等于2时,求借各个小矩阵,若阶数大与2,就递归的调用前面方法,直到分解成2*2的子矩阵为止。-Strassn on two matrix multiplication, the algorithm, with the governing principle over two n * n matrix of the band decomposed into 4 n / 2
shuju
- 文章通过对实序列快速傅里叶变换的算法推导及Mallat 算法原理的分析,根据离散小波变换(DWT)算 法结构特征,提出了一种离散小波的快速变换算法,给出了相应的算法步骤。从数学理论上进行了论证,并把该算法 应用到静态图像处理中,得到了很好的快速和重建效果,具有一定的实用价值。 关键词:小波分析;Mallat 算法;快速小波算法 图像处理 中图分类号:TN914 文献标识码:A 1 引言 小波分析是近十多年来迅速发展起来的新兴学科和信号分析理论,是继傅里叶分析方法之后的重
01knap_Dynamic_Programming
- 本文通过研究动态规划原理,提出了根据该原理解决0/1背包问题的方法与算法实现,并对算法的正确性作了验证.观察程序运行结果,发现基于动态规划的算法能够得到正确的决策方案且比穷举法有效.-through research paper on dynamic programming, According to the principle of resolving the 0 / 1 knapsack problem with the algorithm, the algorithm was verifi
factShow
- 数据结构的代码演示程序,利用栈的原理,将级数fact递归问题的执行过程以直观的形式演示出来。-data structure code demo program using the stack principle, Recursive series fact of the implementation process in the form of visual presentation out.
cghost
- C语言常用算法源代码,数据结构原理实现, 对学习应用有参考价值。-C language source code commonly used algorithms and data structures to achieve the principle of learning about the application of a reference value.
Projectjohu123006
- crc任意位生成多项式 任意位运算 自适应算法 循环冗余校验码(CRC,Cyclic Redundancy Code)是采用多项式的 编码方式,这种方法把要发送的数据看成是一个多项式的系数 ,数据为bn-1bn-2…b1b0 (其中为0或1),则其对应的多项式为: bn-1Xn-1+bn-2Xn-2+…+b1X+b0 例如:数据“10010101”可以写为多项式 X7+X4+X2+1。 循环冗余校验CRC 循环冗余校验方法的原理如下:
Hanoi_2
- 汉诺塔的双递归调用,一样的原理,新的思路,新的算法。-HANOR double recursive call, the same principle, the new ideas and new algorithms.
Polynomial_Together
- 采用堆栈的原理,用C++写的多项式相加的程序-stack used the principle, the C polynomial column written procedures
CCodeExample
- c代码用例。内容包括案例一 贪吃蛇游戏(学习基于while(!keyhit())的即时原理) 案例二 计算器 案例三 黑白棋游戏 案例四 迷宫问题 案例五 扫地雷游戏 案例六 速算24 案例七 数据结构CAI系统 案例八 进程调度 案例九 存储管理分区分配算法 案例十 通讯录 案例十一 学生成绩管理 案例十二 工资管理 案例十三 图书借阅管理 案例十四 教师工作量计算-c code with cases. Case including a hu
LCA_LRJ
- 最近写的一个最近公共祖先问题的代码,原理很简单基于递归深搜,具体请见LRJ书-recently wrote of a recent public ancestors of the code, the principle is very simple search based on recursive deep, See LRJ specific book
oa_module
- 离散点插值程序,采用的是cressman客观插值原理-discrete points interpolation procedure, the objective is cressman interpolation Principle
reply_1_257254
- 我写的那算法只是原理,要实用必须实现一个大整数类(用c++,我的算法是C的)。欢迎和我联系讨论-I wrote that the only algorithm principle, to be practical realization of such a large integers (with c, I C algorithms). And I welcome the discussion link
fengsuyun
- 本程序主要是用于编译原理中的语法分析用的是vc++语言,用的是LR1语法分析法。-this procedure is used mainly to the principle of compiler syntax analysis is vc language, the syntax is Sequence Analysis.
ddt
- 算法设计于分析中的多段图问题,用VC编写应用动态规划的算法设计方法,利用最优性原理以及所获得的递推关系式求取最优决策序列,通过多段图的定义,找到由源点s到汇点t的最小成本路径,进而可以灵活解决可以用多段图描述的许多实际问题.-algorithm design in the analysis of many of the map, prepared with VC dynamic programming algorithm design, the optimum principle as well
预测
- 数据预测算法,主要是一元n次方程的回归预测实现。* 预测分析--本算法只适用于有明显线性趋势的数据 * 默认为一元二次曲线方程法 * * 本程序主要涉及有两个算法 * 1.用最小二乘原理找到线性方程组的系数和常数。 * 2.解线性方程组 * 本程序在解线性方程组中,由于考虑到收敛性问题未采用迭代法,而是采用Gauss-Jordan消去法来解决。-data prediction algorithm is mainly one yuan n equation forecast to achieve
语法分析之左递归实验
- 此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (1)把文法G的所有非终结符按任一种顺序排列成P1,P2,…Pn 按此顺序执行 (2)FOR i:=1 TO n DO BEGIN FOR j:=1 DO 把形如Pi→Pjγ的规则改写成 Pi→δ1γ δ2γ … δkγ。其中Pj→δ1 δ2 … δk是关于Pj的所有规则; 消除关于Pi规则的直接左递归性 END (3)化简由(2)所得的文法。即
shouyinzhushou
- 根据系统全部零钱内钱币的信息,按钱币总张数最少的原则进行退币, 零钱总数:50元的10张,20元的20张,10元的50张,5元的100张,1元的100张,5角的200张,1角的500张,一角以下的可以丢弃。-According to the information system within all change coins, the coins, the total number of at least the principle of the coin, change the total n
MergeSort
- 排序算法:归并排序 根据排序原理实现,时间复杂度为NlogN。测试数据集mergesort.txt为100000个数,结果保存在sortresult.txt中 -Sorting algorithms: merge sort to achieve the principle according to sorting, time complexity NlogN. Test data set mergesort.txt of 100,000 the number of results sto
c语言分析
- 一个关于编译原理的编程,是一个c语言来实现的,可以运行。主要是分析输出。-a compiler on the Principle of programming, is a C language to achieve, and can run. Analysis is the main output.