在研究中使用VB6完成了算法代码的设计。
VB6 is used to finish the design of algorithm code in the study.
说明:这个是详细的粒子群算法代码。大家可以借鉴参考。
This is the detailed particle swarm optimization code. We can learn from the reference.
编写了Matlab语言的算法代码,对当前测量系统采集的直线度数据进行拟合分析,进行直线度误差评定。
Compiles the arithmetic codes based on MATLAB, analyzing and fitting the measurement data, assessing the straightness error.
开发人员可以快速试验一个想法、研究一种对象属性或不同算法,而无需编译、执行和测试任何代码。
A developer can quickly try out an idea and explore an object's properties or different algorithms without having to compile, execute, and test any code.
新的代码更好地利用了系统资源,并且包括了提高可扩展性和性能的算法。
The new code makes a better use of system resources and includes algorithms that improve the scalability and performance.
然而,任何技术都是有限制的:这些工具只是针对代码生成一套观察报告,它们并不能理解算法或是开发者的意图。
However like any technology there are limits: these tools are only generating a set of observations about the code. They don't understand algorithms or the developer's intent.
您可以想象到通过类似的算法根据国家代码识别国际电话号码。
You can imagine a similar algorithm for an international number with a country code.
事实上,这个算法出现在该代码的注释中。
计算上开销很高的代码,如数值分析、算法,等等。
Computationally expensive code, such as numerical analysis, algorithms, and so on.
需快速运行的组件——grep和Perl——实际上都运行得很快,而算法和显示代码则尽量不产生干扰以保证运行速度。
The components that need to be fast — grep and Perl — are very fast, indeed, and the algorithm and display code stays out of the way enough to keep things fast.
通过使用针对用户空间和内核级代码的这些简单算法,现在能够检测、记录和响应来自用户的各种物理输入。
With these simple algorithms for user space and kernel-level code, you now have the ability to detect, log, and respond to the full range of physical input from the user.
我们通常认为优雅的算法或者技术的优雅比代码的易读性和结构具有更高的价值。
We often value elegant algorithms or technical elegance over code readability and structure.
本文提供的代码是相对简单的、使用GD的图像处理算法。
The code presented here is a relatively simple image processing algorithm using GD.
现在,我们考虑一下如何将这个算法应用于当前的大写转换代码。
Now, let's think about how you might apply this algorithm to your current uppercase-conversion code. For reference, here is the original code in convert_driver_c.c
现在,我们将更为详细的查看算法的每一步,同时查看大部分有意思的代码片段。
We'll now go through each step of the algorithm in more detail, examining most of the interesting code snippets along the way.
本文所附示例代码中的xml加密实现对内容加密只能识别Triple - des算法。
The implementation of XML encryption used in the sample code accompanying this article only recognizes the Triple-DES algorithm for content encryption.
就像在soundex算法里一样,第一个字母被保留,最后的代码被裁剪成四个字符,但是如果短于四个字符,也并不填充。
As in the Soundex algorithm, the first letter is retained and the final code is truncated to four characters, although it is not padded if shorter.
通过适当的说服工作,增加身份验证方案的安全性可以像对当前密码输入代码应用控制算法一样简单。
With the appropriate persuasion, increasing the security of your authentication schemes can be as easy as applying these control algorithms to your current password entry code.
程序员可以通过优化算法、数据结构和代码组织来提高软件的性能与效率。
A programmer can increase the performance and efficiency of the software by improving algorithm, data and code structures.
哈希算法指定哈希代码的大小。
它允许调用方的代码成为排序算法的一部分。
It allows the caller's code to become part of the sort algorithm.
从实际上说,soundex算法的运作方式是把某个字母表中的每个字母映射成代表它的语音组的一个数字代码。
Essentially, Soundex algorithms function by mapping each letter of a given alphabet to a numerical code representing its phonetic group.
然后,应用程序代码可以调用createPayCheck方法,并确保用正确的算法计算工资。
The application code can then call the createPayCheck method with the assurance that the correct algorithm for calculating pay is being used.
Aspell算法的优势在于它利用编辑距离的方式,它在单词级别上和语音代码级别上都使用编辑距离。
The strength of the Aspell algorithm is the way it USES edit distance at both the word level and the phonetic code level.
这方面还有很长的路要走,优化算法、修正低效代码。
This can go a long way, improving things algorithmically and fixing inefficient code.
拥有了XDebug度量之后——而不是之前——您可以优化代码来调整算法、减少瓶颈并减轻过多的内存使用。
Armed with XDebug metrics — and not before — you can optimize your code to tweak algorithms, reduce bottlenecks, and relieve excessive memory use.
TemplateMethod模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。
The Template Method pattern suggests that I should move common boilerplate code up the inheritance hierarchy, deferring algorithmic details to child classes.
然后,对该算法加以改进,形成代码。
错误代码元素提供用于识别错误的算法机制。
The fault code element provides an algorithmic mechanism to identify the fault.
哈希函数是基于键返回数值哈希代码的算法。
A hash function is an algorithm that returns a numeric hash code based on a key.
应用推荐