• 任何可以递归实现算法都可以用迭代实现

    Any algorithm that can be implemented using recursion can also be implemented using iteration.

    youdao

  • 给出了适合于计算机处理离散归实现步骤

    A discrete iterated procedure, which can be processed conveniently by a computer, is discussed.

    youdao

  • 语言水法归实现源码程序演示递归方法漫水法填充效果

    Easy language routines source diffuse recursive method demonstrates the recursive method of flood fill effect.

    youdao

  • 利用递归实现中序遍,利用队列实现二叉树层次遍历。

    Recursive and non recursive implementation of binary tree traversal, the use of queues to achieve the level of binary tree traversal.

    youdao

  • 复杂算法通常比较容易使用归实现事实上有些传统算法正是以递归实现的,诸如阶乘函数

    Complex algorithms are typically made easier by using recursion. In fact, there are some traditional algorithms that presume recursion as the implementation, such as a function to return factorials.

    youdao

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

    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.

    youdao

  • 递归允许的更高层定义策略然后它们强制到内部所有组件实现交互

    Recursion allows defining policies higher up in a domain and enforce them on all the component implementations and interactions within.

    youdao

  • 为了测试段初步日志记录代码使用精巧递归方法,它是波纳契数列计算的一个实现如清单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.

    youdao

  • 访问者实现中可以清楚地看到一点,可以看到eval - concat函数所有调用

    This is obvious in the Visitor implementation where you see all of the recursive calls to the eval-concat function.

    youdao

  • 这种非常有趣,因为迭代的,不是递归的,这是zippers 遍历与之前的 clojure.walk实现之间的主要差别

    This traversal is interesting because it is iterative, not recursive, which is a key difference between zipper traversal and the prior clojure.walk implementation.

    youdao

  • 解释了函数执行递归如何实现的。

    It also demonstrates how the recursion of the function execution works.

    youdao

  • 方法这些关系的直接实现造成解决方案效率低下,因为其中包含了对子问题的多次计算

    The naive implementation of this recurrence relation as a recursive method would have led to an inefficient solution involving multiple computations of subproblems.

    youdao

  • BPEL4WS允许递归组合结构化活动表达任意复杂算法,这些算法表示服务实现

    BPEL4WS allows you to recursively combine the structured activities to express arbitrarily complex algorithms that represent the implementation of the service.

    youdao

  • 目前实现提供一个服务可以递归调用TCS建立自己的事务

    The current implementation provides for a service to recursively call the TCS to set up its own transaction.

    youdao

  • 这个程序中,所有状态改变都是通过使用完全前后一致数据重新运行递归程序实现

    In this program, all state changes are brought about by re-running the recursive function with completely self-consistent data.

    youdao

  • 通过增加简明语法支持函数式语言使成为实现简单代码重用候选方法。

    By adding clean syntax and support, functional languages make recursion a candidate for simple code reuse.

    youdao

  • 处理器实现一种递归算法

    The processor implements a recursive algorithm.

    youdao

  • 我们稍后变量所谓递归变量但是现在讲讲怎么实现迭代。

    We're going to see variations of this, we're going to see a variation of it called recursion, a little later on, but for now we're just going to talk about how do we do iterations.

    youdao

  • 第 5章介绍划分问题函数迭代函数的转换(可以保证,非常有趣)以及阶乘斐波纳级数的实现

    Chapter 5 deals with partitioning problems, converting recursive functions to iterative functions (it's fun, I assure you), and more factorial and Fibonacci series implementations.

    youdao

  • 已经Lisp中实现递归函数

    You've implemented a recursive function in Lisp.

    youdao

  • nose测试运行器采用的实现方式介于两种工具之间:向下递归地搜索每个Python但是检查目录名中包含单词test 的目录。

    The nose test runner implements a middle way between the other two tools: it descends into every Python package, but is only willing to examine directories, if they have the word test in their name.

    youdao

  • 通常函数语言避开while循环因为while实现大多数操作都可以使用递归完成

    Normally, functional languages eschew the while loop, because most of what while does can be done instead with recursion.

    youdao

  • fork-join问题实现很常见,因为递归分解问题过程将会创建大量Problem对象

    This is typical of fork-join problem implementations because the process of recursively dividing the problem will create a potentially large number of new Problem objects.

    youdao

  • 注意循环结尾处一个上次1参数递归调用同一个函数实现循环的迭代

    Note at the end of the loop that I recursively call the same function with an argument that is one greater than the previous, implementing the iteration of the loop.

    youdao

  • 我们完善脚本实现访问子目录处理包含需要上载文件的目录远程服务器存在情况

    Let's finish up our script by descending into subdirectories and handling the situation where the directory containing the file being transferred may not exist on the remote server.

    youdao

  • 为了实现,可以通过proceed(. .)调用封装匿名中来隐藏连接点其他部分

    To do this recursively, you close over the rest of the join point by encapsulating the proceed (..) call in an anonymous class.

    youdao

  • 实现这一转换需要使用常用称为(tail recursion)的XSLT技术

    To effect that transformation, you need to use a common XSLT technique known as tail recursion.

    youdao

  • 接下来实现算法递归子问题对应情景,这时使用表格中已经填充

    Next, you implement what corresponds to the recursive subcases in the recursive algorithm, but you use values that you've already filled in. In Figure 4, I've filled in about half of the cells.

    youdao

  • 分别循环映射简化递归实现分子动力学并行计算

    Cyclic mapping and reduction recursive bisection method were used to parallel the molecular dynamics.

    youdao

  • 讨论内部实现原理

    The inner realization principle of recursion is discussed.

    youdao

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

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

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