搜索资源列表
ScientificCalculator
- DOS下的科学计算器,主要是通过把表达式转换为逆波兰式,再利用堆栈递归求解;-Under DOS scientific calculator, mainly through the expression is converted to Reverse Polish-style, and then use recursion to solve the stack
Projects
- 一些关于算法的小程序,里面有关递归调用的运用,希望有用!-some programs about algorithms,especially for recursion.hope to help you!
path
- 探询路径 问题的提出:编写程序,输出下图的0至n(1<=n&&n>=9)的所有路径。 该题的核心是找出满足一定规律的递归条件,从而设计出递归算法。仔细分析不难发现规律: 0至n的路径由0至n-1的路径,加上n-1至n的路径,以及0至n-2的路径,加上n-2至n的路径这 两部分组成。即欲找0至n的路径,可以转化为找0至n-1及0至n-2的路径,这就可建立递归。-Explore the path Of the problem: the preparation
RecursionArithmeticOfRein
- 这个是递归计算实现类文档,是关于雨流记数的递归算法。-recursion
heat2
- recursion method 解传热方程,作为计算物理的学习小历程很适合-solution of heat transfer equation using recursion method, for computational physics
Fibonacci
- 递归法实现Fibonacci函数,VC-Fibonacci function with recursion
fibonacci
- 用递归、递推、矩阵等多种方法实现求Fibonacci数的算法。程序使用java实现-Use recursion, recursion, matrix and other methods to achieve the Fibonacci-seeking algorithms. Program using the java implementation
ssd7exercise3
- 1实现stl容器; 2实现说给声明的函数 3使用递归方法 相对于实验2,新增了2个类Class Category。Class Categories; 关键算法: virtual void findOfferings (Listing::iterator start, Listing::iterator finish, Listing &matches) void findOfferingsRecursive (Listing::iterator start, Listi
shenyou
- 求解数独的深度优先搜索的程序,没有递归,可用于低性能的单片机。-Sudoku Solving the depth-first search procedure, there is no recursion, can be used for low performance microcontroller.
jisuansuanfa
- 主要描述递归的概念, 掌握设计有效算法的分治策略。 通过下面的范例学习分治策略设计技巧。-Will describe the concept of recursion to master the design of effective algorithm for sub-rule strategy. Examples of learning through the following sub-rule strategy of design skills.
tigui_tree_structure
- The use of recursion, to achieve directory tree structure.
dgfxs
- 递归实现分型树,由一个主干开始生成一棵完整的树-Typing recursion tree, from a trunk to start generating a full tree
queen
- 八皇后问题的具体实现,用递归来寻找每个皇后的位置,有注释!-Concrete realization of the eight queens problem, using recursion to find the location of each of the Queen, there are comments!
Commonalgorithms
- 一些常用的算法设计方法和C++环境下的实现方法。主要包括:迭代法、穷举搜、索法、递推法、递归、回溯法、贪婪法、分治法 -Some commonly used algorithm design methods and C environments are implemented. These mainly include: iterative method, exhaustive search, rope method, recursive method, recursion, backtra
lq
- 对于给出的一组数据,要找到它们的最大或者最小值,运用递归和分治的思想方法来解决问题。n=2时,一次比较就可以找出两个数据元素的最大元和最小元。 当n>2时,可以把n个数据元素分为大致相等的两半, 一半有?n/2?个数据元素,而另一半有?n/2?个数据元素。 先分别找出各自组中的最大元和最小元,然后 将两个最大元进行比较,就可得n个元素的最大元; 将两个最小元进行比较,就可得n个元素的最小元。-For a given set of data to find their maximum or
gcd
- to get GCD(A,B),and no recursion -to get GCD(A,B),and no recursion
maze
- 迷宫问题的递归解法,输入一个1,0矩阵构成的迷宫,0代表可走,1代表不可以走,通过递归找出从入口到出口的路径,并输出-Recursive solution of the maze problem, enter a maze of 1,0 matrices, 0 representatives may go a representative can not walk through the recursion to find the path from the entrance to the ex
hano
- 这是一个不利用递归实现汗诺塔的例子,让我们看看原来简单的 hanoi (n-1,a,c) hanoi (n,a,b) hanoi (n-1,c,b) 由于无法使用递归,需要什么样的手段才能实现。-This is a non-recursive implementation Khan, Tower of Hanoi example, let' s take a look at the original simple hanoi (n-1, a, c) hanoi
test1
- 递归实现一个集合的所有的子集的输出。 例如{1,2} 输出{}{1}{2}{1,2}-A subset of the output of recursion
QuickSort1
- 一种速度很快的排序算法,无论是从空间和时间上。运用递归,循环,指针-A very fast sorting algorithm, both in space and time. The use of recursion, loop, pointer