The following code illustrates the use of a partial active pattern.
下面的代码阐释了分部活动模式的用法。
The idea of active patterns is to enable you to use the pattern matching syntax with other data structures.
活动模式的思想就是让你能把模式匹配语法用于其他数据结构。
This article has been a quick tour of pattern matching in F# and introduced its new active patterns feature.
这篇文章是F#中模式匹配的一个快速浏览,并介绍了它的新活动模式的特性。
This article takes a closer look at active patterns a feature that adds to F#'s already strong pattern matching capabilities.
这篇文章是对活动模式这个特性的详细讨论,F#已经具备相当强大的模式匹配能力。
You can use an active pattern definition to define the rules for determining which of the named partitions the values given as arguments belong to.
可以使用活动模式定义来定义规则,以便确定作为参数给定的值所属的命名分区。
We've taken a look at why pattern matching is important, it helps us build cleaner more maintainable code, and seen how these ideas are extended by active patterns.
我们看到了模式匹配为什么是重要的,它帮助我们构建更清晰更容易维护的代码,并看到了这个思想是如何被活动模式进行扩展的。
This study is a basis on revealing the tectonic evolution and active pattern, deducing the strike-slipping history and forecasting the future behavior of a strike-slip fault.
这一研究是揭示走滑断裂的构造演化与活动习性,反演断裂走滑活动历史并预测其未来行为的基础。
If you are interested in learning more about active patterns please see this blog post from Don Syme, which includes a link to a paper which gives more details about the active pattern design.
如果你有兴趣学习更多关于活动模式的知识,可以看看Don Syme写的这些博客文章,其中包括了一个论文的连接,这个论文提供了关于活动模式设计的更多细节。
However, I believe that if one needed to build a tokenizer and wanted to avoid the complications of using another programming tool one could build an active pattern that fulfilled this requirement.
然而,我相信如果一个人需要构建一个标记器并想避免由于使用其他编程工具所带来的复杂性的话,那么他可以构建一个活动模式来满足这样的需求。
You use the active record pattern to wrap relational database persistence methods in domain classes.
活动记录模式则可用来在域类内包装关系数据库持久性方法。
Let's take at look at a simple (and partial) implementation of the active record design pattern.
让我们先来看看活动记录设计模式的一个简单的部分实现。
When we fall asleep, the brain undergoes a similar pattern of global activity, as the prefrontal cortex goes quiet and the visual cortex becomes even more active than usual.
当我们进入睡眠状态时,大脑经历的全脑激活模式与平常清醒时类似,虽然前额叶皮层会保持沉寂,而视觉皮层比平常甚至更加活跃。
In some patients, regions of the brain became active in a pattern that was a lot like that in healthy subjects.
有一些病人的大脑部分区域会开始像正常人一样活动。
In this case, we will follow the Active Record pattern and wrap a database row with a class capable of all database operations. Its code is shown below.
在本例中,我们将遵循activeRecord模式并用能够执行所有数据库操作的类封装数据库行。
A cool feature often provided in active record design pattern implementations is dynamic finder methods.
活动记录设计模式实现内经常提供的一个很棒的特性是动态finder方法。
Since there can be only one un-caught handler per process active at a time, the constructor should be invoked only once; hence, the reason for the singleton pattern.
因为每次只能有一个未捕获的处理程序处理一个活动进程,构造函数应该只被调用一次,因此要采用singleton模式。
This pattern has many variants, one service called active: mapper USES a resource containing a routing map between address Spaces.
该模式有很多变量,一个叫做active:mapper的服务使用了一个包含地址空间之间的路由映射的资源。
Rich nutrition knowledge, active live attitude and health diet pattern are the foundations of rational nutrition.
丰富的营养知识、积极的生活态度、健康的饮食行为和饮食模式是合理营养的基础。
The technology of object automatic recognition on remote-sensing image is a very active research field in pattern recognition and image processing these years.
遥感图像目标自动识别技术是计算机模式识别与图像处理领域非常活跃的研究课题。
The team has found that the increased activity follows a pattern known as a time-invariant power law - one of the upshots of which is that all users tend to become more active in the network.
该研究团队发现,增加的活动遵循定常幂律(time-invariant power law)——其结果之一是所有用户倾向于在网上积极。
Suggested that active health education pattern is superior to the planed health education pattern.
说明自主性健康教育方式优于计划性健康教育方式。
The lotus image is the first plant decorative pattern and is also the most active one in the history of Chinese ornaments.
莲花图像是中国纹样史上第一个正式进入装饰领域的植物纹样,也是中国装饰史上最活跃的植物装饰图像。
Fault diagnosis is an active subject in the area of computer pattern recognition.
故障诊断是计算机模式识别领域的一个活跃课题。
From the aspect of language use, the subjectivity of news language mainly shows on the pondering of expression, the choice of sentence pattern and the application of active rhetoric means etc.
从语言运用的层面看,新闻语言的主观性主要表现在对词语的锤炼,句式的选择和积极修辞手法的运用等方面。
Seal imprint verification is a very active and synthetic topic in the field of computer vision and pattern recognition.
印鉴鉴别是计算机视觉和模式识别领域中一个比较活跃的研究课题。
In this paper, we propose to use intrusion action pattern to correlate alerts in our Distributed Active Collaboration intrusion Detection System (DACIDS).
文章介绍了在我们设计开发的分布式协同入侵检测系统(DACIDS)中通过对入侵行为模式的匹配而进行告警关联的方法。
As a key technology for information processing, face detection has become a popular area of importance, very active research topic in Computer Vision and Pattern Recognition in recent years.
人脸检测作为人脸信息处理中的一项关键技术,近年来成为模式识别与计算机视觉领域内一项受到普遍重视、研究十分活跃的课题。
Basically, the identity switch comes about by a reprogramming process that changes the pattern of which genes are active and which are shut off.
细胞转化是通过改编过程实现的。这个过程改变了哪些基因被激活那些基因被关闭。
The present AFT age pattern is, therefore, basically controlled by the Cretaceous rapid cooling event but finally shaped through active faults.
现今的磷灰石裂变径迹年龄格局基本上受控于白垩纪的快速抬升冷却事件,但最后为晚期活动断裂所定格。
The present AFT age pattern is, therefore, basically controlled by the Cretaceous rapid cooling event but finally shaped through active faults.
现今的磷灰石裂变径迹年龄格局基本上受控于白垩纪的快速抬升冷却事件,但最后为晚期活动断裂所定格。
应用推荐