请注意broker是尾递归的。
递归的另一个实例如下。
这就是我们使用递归的原因。
如果使用子程序的话,它不能是递归的。
这是递归的停止条件。
举出一个你所用过的递归的例子。
Can you name an example of a recursive solution that you created?
还要注意向左递归的使用。
迭代的是人,递归的是神。
问题在于,我们能否在不使用递归的前提下实现访问者模式?
The question is, can we implement the Visitor pattern without recursion?
为了支持这一特性Jigsaw有一个本地依赖的概念,该概念是递归的。
To support this Jigsaw has a concept of a local dependency which is recursive.
要了解其中的递归逻辑,请参阅存档的源文件。
To understand this recursive logic, check out the documented source file.
对更复杂的递归过程来说这是一个通用的模式。
This is a common pattern for more complex recursive procedures.
请注意传统的递归首字母缩写。
例如,考虑在一个递归方法中会发生的事情。
Consider what would happen with a recursive method, for instance.
可以证明,这种递归解法需要耗费指数级的时间。
It can be shown that this recursive solution takes exponential time to run.
例如,概念模型可能显示从Person到它本身的一个简单的递归关系。
For example, the conceptual model may show a simple recursive relationship from Person to itself.
将一个常见的循环转化为递归函数。
此外,递归函数还会遇到浏览器调用栈大小的限制。
Further, recursive functions are more likely to run into browser call stack size limits.
这个顾客满意度的经济计量模型是一个递归模型。
The economy measure model of this customer satisfactory degree is a recursive model.
“递归”过程是指调用自身的过程。
这就是一个绝妙的递归定义。
我们的下一个基于列表的递归函数示例要稍微复杂一些。
Our next example of a recursive function on lists will be a little more complicated.
依赖于目标(序列)的形式,赋值被递归地定义。
Assignment is defined recursively depending on the form of the target (list).
递归方法也需要显式的返回类型。
请注意你的递归式。
这里是一个通用的循环函数,它使得递归使用起来更加容易。
Here's a generic loop function making recursion easier to use.
另一个重要的概念是递归。
第一个if 语句在列表为空的情况下中断递归,返回零值。
The first if statement breaks the recursion if the list is empty, returning zero.
递归性是人的思维过程中普遍存在的动力机制。
Recursiveness is an ordinary power mechanism existing in the process of people's thinking.
过多的方法调用通常意味着存在非常深的递归或无限递归。
Too many method calls is often indicative of a very deep or unbounded recursion.
应用推荐