• Finally, for the case of recursive expressions, the parser should simply echo parentheses when it sees them within the expression recursion, as illustrated in Listing 21.

    最后对于表达式情况解析器表达式归中看到括号时,就应该简单地进行回送清单21所示。

    youdao

  • The Listing 8 code uses a pair of mutually recursive methods for the actual analysis.

    清单8 中的代码使用个相互方法进行实际分析

    youdao

  • The classes in Listing 2 show how this recursive loading works.

    清单2中的显示一递归装入工作方式

    youdao

  • 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.

    为了测试段初步日志记录代码使用精巧递归方法,它是波纳契数列计算的一个实现,如清单 4 所

    youdao

  • The steps required to write such a recursive function are listed below, and Listing 3 presents the source code of the function itself.

    编写这种递归函数需要执行的步骤如下所示,清单3给出了这个函数的源代码

    youdao

  • Listing 2's implementation runs in o (n) time. I won't prove this, but the running time of Listing 1's naive, recursive implementation is exponential in n.

    清单2中的实现所需时间比清单1短许多,清单2运行时间O (n),清单1中的递归实现的运行时间n的指数

    youdao

  • But Listing 1's code is inefficient because it solves some of the same recursive subproblems repeatedly. For example, consider the computation of fibonacci1 (5), represented in Figure 1.

    但是清单1代码效率不高因为重复解决相同递归问题。

    youdao

  • Now I'll use those methods to build a recursive processor to interpret generics. Listing 8 gives the code for this purpose

    现在这些方法构建一个解释泛型递推处理程序

    youdao

  • The rest of Listing 2 should seem familiar, at least in approach. The function reveal is recursive.

    清单2其余部分应该比较熟悉至少对于方法这样。

    youdao

  • This functionality works well as a recursive application, as shown in the sample factorial function in Listing 4.

    这个功能作为递归应用程序工作良好清单4中的样本阶乘函数

    youdao

  • Finally, for the case of recursive expressions, the parser should simply echo parentheses when it sees them within the expression recursion , as illustrated in Listing 21.

    最后对于表达式情况解析器表达式归中看到括号时,就应该简单地进行回送清单21所示。

    youdao

  • Finally, for the case of recursive expressions, the parser should simply echo parentheses when it sees them within the expression recursion , as illustrated in Listing 21.

    最后对于表达式情况解析器表达式归中看到括号时,就应该简单地进行回送清单21所示。

    youdao

$firstVoiceSent
- 来自原声例句
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定
小调查
请问您想要如何调整此模块?

感谢您的反馈,我们会尽快进行适当修改!
进来说说原因吧 确定