After case matching and adaptation, the feasible assembly sequences of aim case were finally obtained.
车身前纵梁部件装配实例验证结果和算法对比表明了该方法的有效性。
The method was described, and the principles and criteria of case description, case retrieval, case matching and case learning were all discussed.
讨论了连续事例推理方法,详细分析了事例描述、事例提取、事例匹配和事例学习的原理及准则。
The experiment data indicate that the way of case matching, which can improve probability of success matching , is feasible, and good fault-diagnose efficiency will be achieved.
实验数据表明,该案例匹配方法切实可行,能有效提高匹配成功率,从而提高设备故障诊断效率。
In the matching case, you can ensure that rules only run depending on the value of an environment variable.
在匹配情况下你可以确保规则仅仅依赖一个环境变量的值而运行。
In this case, we use the profile to affect the query behavior by triggering the guidelines associated with the query at runtime after successful query text matching.
在这种情况下,可以使用概要文件,在查询文本成功匹配之后,通过触发与查询相关联的指南来影响查询行为。
Start by searching CM user groups for each repository user group and then handle the case that found a matching CM user group.
首先为每个库用户组搜索CM 用户组,当发现匹配的 CM 用户组时进行处理。
The top right pane will then contain a form matching the input arguments to the service (none in this case).
右上方的窗格就会包含与服务输入参数(本例中无输入参数)相匹配的表单。
Case classes are frequently sent to Actors as messages, and deep pattern matching on an object's contents is a convenient way to "parse" those messages.
Case类经常会被作为消息发送到Actor,对一个对象的内容进行深度模式匹配是“分析”这些消息的方便方式。
Matching these positional patterns is potentially very expensive, so it's worth handling the common case of a pattern like para [1] specially.
匹配这些位置模式可能非常耗时,所以值得特别处理类似模式(如para[1])的一般情况。
In this case, for every matching method declaration (the finalize method), a result is created where the name is highlighted.
在这种情况下,对于每一个匹配的方法声明来说(finalize方法),被创建的结果的名称都将被突出。
Pattern matching is eager; we have to put this case clause at the end, so it doesn’t consume the messages we are expecting!
模式匹配是头饥饿的怪兽,我们必须把这个case 块放在最后,这样它才不会把我们需要的消息也都吃掉!
The guard is evaluated when matching, but only extracting any variables in the preceding part of the case.
这个守卫会在匹配的时候进行评估,但是只会解出本case的变量。
More importantly, you've seen how case classes work well with pattern matching to make it almost trivial to create this AST and evaluate it.
更重要的是,您已经看到了case类是如何与模式匹配合作,使得创建AST并对其求值变得轻而易举。
In this case, we entered a single colon delimited line with matching data items to populate the user input parameter of type PasswdEntry.
在本例中,我们输入包含匹配数据项的单个冒号分隔行来填充PasswdEntry类型的输入参数user。
There's a lot more to say about pattern matching but that would lead us straight to another Scala feature, case classes, which I think I'll save for another day.
关于模式匹配,还有许多可说的东西,但这些会将我们直接引导至Scala的另一个特性case类,我想将它留到下次再介绍。
You may require a different set of actions when the matching records from an alternate source don't have a valid ID or have no ID; this would be the case for external sources like Acxiom.
当来自备用源的匹配记录不包含有效的ID或者没有 ID时,您可能需要进行一组不同的操作,对于外部源,如 Acxiom,便是这种情况。
This is because case classes are designed to be used in conjunction with Scala's pattern matching (which we briefly examined a few articles ago in "Collection types").
这是因为case类是要与Scala的模式匹配(在 “集合类型” 中曾简短分析过)结合使用的。
Armed with that admittedly brief rundown of case classes and pattern matching, let's return to the task of creating the calculator AST.
简要了解了case类和模式匹配之后,接下来让我们回到创建计算器ast的任务上。
The case ex: syntax you see in Listing 8 is part of another Scala construct, the match expression, which is used for pattern matching in Scala.
清单8中所示的caseex:语法是另一个Scala结构(匹配表达式)的一部分,该表达式用于Scala中的模式匹配。
Since text2 is not sorted in numeric order, we could sort it and then join would join the two lines that have a matching join field (the field with value 3 in this case).
由于text2并不是按数值排序的,因此可以对它进行排序并使用join命令将具有匹配的join字段(在本例中指值为3的字段)的两行连接起来。
With case classes, pattern matching begins to take on whole new levels of power, as shown in Listing 7.
有了case类,模式匹配具备了更强大的功能,如清单7所示。
You can use an underscore (Scala's standard wild card character) as a placeholder to catch any type of exception (really, to match any case in a pattern matching expression).
你可以使用一个下划线(Scala的标准通配符)作为占位符来捕捉任意类型的异常(不骗你,它可以匹配模式匹配表达式的任何case)。
In this case, the dump should be processed on the closest matching system, such as a preproduction test system.
在这种情况下,转储文件应该在最近的符合要求的系统上进行处理,如生产前的测试系统。
If you begin a subpattern with the modifier (? I), matching in the subpattern is case-insensitive.
如果子模式以修饰词(?i)为开头,则在子模式中进行匹配不区分大小写。
Finally, when designing pattern matching statements, be wary of relying on a default case clause.
最后,当设计模式匹配指令时,对于默认case的依赖要小心。
We experimented with different uses for pattern matching, a powerful improvement on the familiar case-switch statement.
我们实验了不同的模式匹配,作为对我们熟悉的case-switch 指令的一种强大增强。
The mode i turns on case insensitive matching, while inm turns on those three options.
模式i打开不区分大小写匹配,而inm 打开三种选项。
As an example, consider Step 4 in our use case: "the system presents all matching vehicles available at the pickup location for the selected date and time."
举一个例子,看看上面描述的第四步:系统列出在指定时间、地点和可用的所有符合条件的汽车。
Charlie falls through to the catch-all case; even though he has the same age value as Bob, we're matching on the name property as well.
Charlie则直到最后那个饥不择食的case才被捕获;尽管他和Bob有一样的年龄,但是我们同时也检查了名字属性。
Charlie falls through to the catch-all case; even though he has the same age value as Bob, we're matching on the name property as well.
Charlie则直到最后那个饥不择食的case才被捕获;尽管他和Bob有一样的年龄,但是我们同时也检查了名字属性。
应用推荐