第二段是真正遍历文档表示和执行修改的递归方法。
The second fragment is a recursive method to actually walk through the document representation and perform the modifications.
试用递归方法设计求解背包问题的算法。
Trial designed recursive algorithm for solving knapsack problem.
汉诺塔问题是典型的只有用递归方法才能解决的问题。
Tower of Hanoi is a typical problem that can only be solved using recursive method.
为了在递归方法中传递,匿名类应该扩展方法已知的包装器类型。
To pass this to a recursive method, the anonymous class should extend a wrapper type known to the method.
没有谁真的在右脑中,按我最初讲的递归方法,计算Fibonacci数列。
Nobody in their right mind actually implements a recursive Fibonacci the way I did it originally.
易语言漫水法递归实现源码例程程序演示了递归方法的漫水法填充效果。
Easy language routines source diffuse recursive method demonstrates the recursive method of flood fill effect.
证明了索赔时刻的盈余过程是一马氏过程,并用递归方法得到了此模型的破产概率上界。
Firstly surplus process in claim moment being a Markov chain was proved, then the upper bounds of the ruin probabilities was discussed by recursive method.
对数学及计算机的递归方法进行了阐述,并通过实例完成了数学递归问题的计算机实现。
In the paper, we explained defined recursive of mathematics and computer, and then, we have given some examples and completed computer realization of mathematics recursive question.
提出用并行差分滤波器去除背景,用逻辑与剔除噪声,用递归方法累积目标轨迹的算法。
It proposes using parallel difference filters to suppress backgrounds, using logic and method to eliminate noise and using recursive method to cumulate the target tracks.
在研究以前二值图像连通算法的基础上,提出了一种基于递归方法的二值图像连通域像素标记算法。
On the foundation of studying former connecting area algorithms, the paper presents a pixel labeled algorithm based on recursive method of connecting area in binary images.
用递归方法对这些递归关系的直接实现会造成解决方案效率低下,因为其中包含了对子问题的多次计算。
The naive implementation of this recurrence relation as a recursive method would have led to an inefficient solution involving multiple computations of subproblems.
方法1:把所有的记录从文件夹表相匹配的文件夹名为“WCF”随着完整的层次编写一个递归方法。
Approach 1: To get all the records from Folders table which match with the folder name as "WCF" along with their complete hierarchy by writing a recursive method.
另外,对缓冲区生成过程中出现的特殊情况进行了处理,并应用递归方法管理和存储缓冲区边界的自相交多边形。
In addition, specific case was resolved during the procedure of the buffer creation, and recursion method was adopted to manage and store the self-intersected polygons of the buffer's borderline.
为了测试这段初步的日志记录代码,我将使用一个精巧的递归方法,它是斐波纳契数列计算的一个实现,如清单4 所示。
To test this preliminary logging code, I'll use a nicely recursive method, an implementation of the Fibonacci sequence calculation, as shown in Listing 4.
利用递推格林函数技术计算了多终端量子体系的电子输运特性,首先运用递归方法给出介观或量子体系的格林函数。
We have introduced a method for the calculation of electron transport in a multi_terminal quantum system based on the recursive Green's function technique.
针对复杂管网水质比例矩阵求解困难的问题,利用递归方法求解水质比例矩阵,由此得到给定覆盖标准下的覆盖矩阵。
To resolve the computational complexity in water quality fraction matrix for complicated water distribution systems, a recursion method was used to obtain the coverage matrix under coverage criteria.
本文对一种规则的栅格状网络进行了理论分析,并分别针对两种路由准则,采用递归方法推导出了评价网络性能的计算公式。
This paper analyses a regular grid network for two kinds of routing standard theoretically, and derives recursive formular to find the network performance.
很明显,直接方法执行速度要快一些,因为没有涉及到任何函数调用或堆栈操作。但递归方法更优雅,能更好地反映问题的本质。
Obviously, the straightforward method is faster because there aren't any function calls or stack manipulation, but the recursive way is more elegant and better reflects the problem.
默认情况下,它将进行递归调用。因此,您也可以在任何一个内部类中发现方法声明。
This one makes recursive calls by default; therefore, it will also find method declarations in any inner classes.
如果我们能找到一个除去这些不需要的栈结构的方法,那么我们的尾部递归函数就可以在固定大小的栈中运行。
If we could find a way to remove these unneeded stack frames, our tail-recursive functions would run in a constant stack size.
在处理一些复杂问题的时候,最常用到的两个方法是递归和叠代,它们直接利用计算机的高速计算能力解决问题。
Recursion and iteration are two very commonly used, powerful methods of solving complex problems, directly harnessing the power of the computer to calculate things very quickly.
这个示例中所使用的生成递归闭包的方法有些冗长。
The way of making recursive closures used in this example is a bit tedious.
原因:定义的某些基本例没有给出自己的类,然后以这种方法定义了递归数据类型。
Cause: The recursive datatype is defined in such a way that certain base cases of the definition are not given their own classes.
任何连接,甚至更复杂的查询,都可以用同样的方法通过将递归源的组成放入一个CTE中来表达。
Any joins, or even more complex queries, can easily be expressed in the same way by simply pushing the composition of the source for the recursion into a CTE.
探索模板的惟一方法是定义同样的递归版本以及基本案例。
The only way to go about exploring the template is to define a recursive version of the same along with a base case.
根据SQL标准,评估分层或双向数据的方法为递归通用表表达式(RCTE)。
According to the SQL Standard, the method to evaluate hierarchical or bi-directional data is the Recursive Common Table Expression (RCTE).
检索实体模式的另一种方法是通过递归调用getSubCategories方法来遍历类别模式。
The other way to retrieve the category schema is to traverse the category schema objects by calling the getSubCategories method recursively.
获得新版本后,我们将调用这个find()方法,替代前面介绍的递归函数,您也应该如此。
We will be substituting a call to this find() method for our recursive function described previously when we get this new version, and so should you.
在read()方法中可以找到递归算法。
记录log方法将导致无限递归。
Logging the log methods would result in an infinite recursion.
应用推荐