程序调用自身的编程技巧称为递归( recursion)。递归做为一种算法在程序设计语言中广泛应用。一个过程或函数在其定义或说明中有直接或间接调用自身的一种方法,它通常把一个大型复杂的问题层层转化为一个与原问题相似的规模较小的问题来求解,递归策略只需少量的程序就可描述出解题过程所需要的多次重复计算,大大地减少了程序的代码量。递归的能力在于用有限的语句来定义对象的无限集合。一般来说,递归需要有边界条件、递归前进段和递归返回段。当边界条件不满足时,递归前进;当边界条件满足时,递归返回。
...列的定义如下: 预备知识: 在需要重复地多次计算相同的问题,通常可以选择递归或循环(迭代)两种不同方法。 递归(recursive):在一个函数内部调用这个函数自身。可以通过栈实现的,本质是把一个问题分解成两个或多个小问题。
基于2350个网页-相关网页
5.1 递归(Recurve)的概念 1.递归的定义是: 若一个对象部分地包含它自己,或用它自己给自己定义,则称这个对象是递归的; 而且若一个过程直接地或间...
基于64个网页-相关网页
归纳定义(递归定义) inductive definition; recursive definition
左递归 [计] left recursion ; left recursive
递归图 recurrence plot
递归语言 [计] recursive language
递归定义 [数] recursive definition
原始递归函数 [数] primitive recursive function
递归查询 Recursive ; Recursive Queries ; recurisive query ; Recursive resolution
递归可枚举集合 recursively enumerable set
A parallelization of a recursive decoupling method for sovling tridiagonal linear system on distributed computer is presented.
提出了一种在分布式计算机上用递归倍增方法解三对角线性方程组的并行算法。
参考来源 - 期刊学术社区Aiming at the test papers generating problems in examination system, a recursion random division algorithm is presented. The algorithm need input parameters for generating test papers.
针对考试系统中的试卷生成问题,提出一种基于题型的递归随机分割算法。
参考来源 - 递归随机分割算法在考试系统中的应用After the fact that the analytic form satisfies a known recurrence is proved, the estimation of the average number can be derived naturally.
证明解析式满足已知的递归关系,得到最大向量平均个数的近似估计。
参考来源 - 一种最大向量平均个数的估计方法Among methods of structuralism, this thesis uses dynamic recursive methods and analyzes Dual-economics from dynamic equilibrium instead of typical static Dual-economics model.
在结构主义研究方法中,经典的二元经济理论模型是静态的,本文采用动态递归方法,从动态均衡的角度重新分析了二元经济模型。
参考来源 - 中国农村劳动力转移:机理、动因与障碍The essence of recursion is that with the help of return, people can solve problems from unknown to known, from complex to simple.
递归的实质是借助于“回归”把未知的归结为已知的,把复杂的归结为简单的过程。
参考来源 - 教学递归初探·2,447,543篇论文数据,部分数据来源于NoteExpress
这是递归的停止条件。
静态禁止多态递归。
现在递归这个词并不新鲜。
In week zero, when we tore the phonebook in half and half and half we were recursing through that problem.
当我们将电话簿划分为一半又一半的时候,其实就是利用递归在解决问题。
Well, the infinity mechanism, and many of you will be familiar with this from mathematics or computer science, is recursion.
这种无限机制是递归的,你们许多人会在数学与计算机科学中,熟悉这个词
What's the point of this? Again, now that I can think about things recursively, I can similarly break things down into simpler versions of the same problem. It could be one version.
这些的意思是什么呢?再一次我想说,我既然能够以递归的方式思考了,那么我就可以简单地把问题,转化为更简单的同类问题。
应用推荐