搜索资源列表
-
0下载:
算法设计于分析中的多段图问题,用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
-
-
0下载:
此为编译原理实验报告 学习消除文法左递规算法,了解消除文法左递规在语法分析中的作用 内含 设计算法 目的 源码 等等.... 算法:消除左递归算法为: (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)所得的文法。即
-
-
0下载:
算法设计与分析
1. 用直接递归方法计算n!:
(2)通过键盘输入n的值,(
2. 用直接递归方法计算第n个Fibonacci数:
3. 用直接递归方法计算Ackerman函数:
4. 用直接递归方法给出n个元素的全排列:
8. 用直接递归方法求解Hanoi塔问题
,Algorithm Design and Analysis 1. Using direct recursive meth
-
-
0下载:
《算法设计与分析》王晓东编著,第二章递归与分治策略课本例子代码实现- Algorithm Design and Analysis edited by Wang Xiaodong, chapter and sub-rule strategy recursive textbook example of code to achieve
-
-
0下载:
字符串扩展问题的递归算法及动态规划算法的详细分析及实现-implementation and detailed analysis of recursive algorithm and dynamic programming algorithm of string expansion issue
-
-
0下载:
算法分析中的递归法齿轮问题,VC++写的C源代码-The recursive algorithm analysis method gear problem, VC++ source code written in C
-
-
0下载:
使用vc++实现算法分析与设计中n图着色的的实现,使用递归算法,比较简单-Using vc++ algorithm analysis and design of the implementation of n graph coloring, using a recursive algorithm, a relatively simple
-
-
0下载:
Hanoi塔的递归调用和消除尾递归的方法,附带算法的设计思路和分析-Hanoi Tower recursive calls and the elimination of tail recursion method with the algorithm design and analysis of ideas
-
-
0下载:
试分别实现交换排序和非递归形式的快速排序算法,并通过随机数据比较两种排序算法的关键字比较次数和关键字移动次数。
(1)待排序表的表长不小于100;其中的数据要用伪随机数产生程序产生;至少要用5组不同的输入数据作比较;比较的指标为有关键字参加的比较次数和关键字的移动次数(关键字交换计为3次移动)。
(2)最后要对结果作出简单分析,包括对各组数据得出结果波动大小的解释。
(3)对快速排序算法进行适当的优化,并列出优化前后的效率对比。
-Subjects were asked to a
-
-
0下载:
用算法分析中递归与分治算法实现的,最长公共子序列算法,编程环境为vc-Analysis using the recursive algorithm and the divide and conquer algorithm, the programming environment for the vc++
-
-
0下载:
汗罗塔的算法,有递归和非递归的算法分析,程序可以自己看看!-Khan Rota' s algorithm, recursive and non recursive algorithm analysis, the program can see for yourself!
-
-
0下载:
数值分析算法描述与习题解答,由清华大学徐士良教书,用C开发的各种数学算法。比如:托伯利兹型型线性代数方程组的递推算法,全选主元高斯消去法解复系数线形代数方程组,复矩阵求逆的全选主元高斯
-The numerical analysis algorithm descr iption and answer exercises, taught by Tsinghua University, XU Shi-liang, C development of mathematical algorithms.
-
-
0下载:
研究生上课所用的算法分析与设计相关文档PPT,分八个章节对算法进行详细介绍:
第1章 算法引论
第2章 递归与分治策略
第3章 动态规划
第4章 贪心算法
第5章 回溯法
第6章 分支限界法
第7章 概率算法
第8章 NP完全性理论
-Graduate classes used in algorithm analysis and design documents the PPT is divided into eight chapters on the alg
-
-
0下载:
(1)float型和double型变量所能表示的最小正数分别是多少?
(2)分析代码在时间足够的情况下是否能运行完,如果能给出n_f及n_d值。
(3)分别用float型和double型变量保存部分和Sk,递推计算(1)(见于实验七作业文件)式的值,并判定结果是否收敛?原因?理论分析及编程测试,给出收敛时得n值。
(4)设计求和算法,使用float型变量,使得收敛时n尽量大,部分和Sk尽量准确。
-(1) float and double variable can be repr
-
-
0下载:
整数因子问题的C语言源代码
计算机算法设计与分析中的题目
递归与分治算法-C language source code for a computer algorithm design and analysis topics recursive divide and conquer algorithm with integer factor issues
-