These elements of nontransparency can cause confusion when migrating code to take advantage of generic algorithms.
为了利用泛化算法而对代码进行移值的时候,这些不透明因素可能会造成混乱。
Another place where closures offer an opportunity to dramatically simplify code is in the use of generic algorithms.
闭包能够大大简化代码的另一个地方是泛化算法的使用。
Based on iterator concepts model, traits extraction mechanism and compile time dispatch technic, STL generic algorithms achieve best efficiency.
在STL迭代器概念模型基础上,利用特性萃取机制和编译时代码分派技术,泛型算法达到了最佳运行效率。
Specifying computations using generic algorithms provides a natural opportunity for library implementations to exploit parallelism in the problem space.
使用泛化算法定义计算为库实现在问题空间中采用并行机制提供了一种自然的方式。
However, previous techniques for combining XML restructuring with generic compression algorithms have operated at the level of entire XML documents.
然而,以前将XML重新构造与一般压缩算法相结合的技术是作用于整个XML文档级别的。
On approximately 200,000 instances of generic constructor invocations, both algorithms predicted the correct result approximately 90 percent of the time.
在大约200,000个通用构造函数调用的实例上,两种算法大约90%的时候都可以预测到结果。
Listing 1. Pseudo-code for generic divide-and-conquer parallel algorithms.
清单1.通用divide - and - conquer并行算法的伪代码。
When building evolutionary algorithms the toolbox is used to contain the operators, which are called using their generic name. For example, here is a very simple generational evolutionary algorithm.
当建立进化算法时,工具箱是用来容纳这个操作算子的,就是被称为使用它们的通用名字。例如,这里是一个非常简单的进化算法。
A template library which provides a set of modular, generic, and reasonably efficient implementations of common raytracing algorithms.
模板库,它提供了一个共同的光线追踪算法,模块化,通用,高效的实现,合理设置。
The generic model and basic characteristics of information hidden technology are introduced in this paper, several typical algorithms for the technology are analyzed and compared emphatically.
文章主要介绍了信息隐藏技术的通用模型、特征,重点对现有几种典型算法进行了分析比较。
Important generic issues are discussed first and then the major families of algorithms are described.
重要的一般的问题被首先讨论,然后算法的主要的家庭被描述。
The algorithms are quite generic and can be applied to other system optimization problems.
该算法具有通用性,能用于其他系统优化问题。
The algorithms are quite generic and can be applied to other system optimization problems.
该算法具有通用性,能用于其他系统优化问题。
应用推荐