什么是候选函数?什么是可行函数?
如果没有找到可行函数,则该调用错误。
If there are no viable functions, then the call is in error.
如果有的话,列出每个函数调用的可行函数。
至少有一个实参的匹配优于其他可行函数提供的匹配。
There is at least one argument for which the match is better than the match provided by any other viable function.
其每个实参的匹配都不劣于其他可行函数需要的匹配。
The match for each argument is no worse than the match required by any other viable function.
可行函数必须满足两个条件:第一,函数的形参个数与该调用的实参个数相同;
To be viable, a function must meet two tests. First, the function must have the same number of parameters as there are arguments in the call.
函数重载确定的第三步是确定与函数调用中使用的实际参数匹配最佳的可行函数。
The third step of function overload resolution determines which viable function has the best match for the actual arguments in the call.
因此,这个调用有二义性:每个可行函数都对函数调用的一个实参实现更好的匹配。
This call is therefore ambiguous: Each viable function is a better match on one of the arguments to the call.
根据实参个数选出潜在的可行函数后,必须检查实参的类型是否与对应的形参类型匹配。
Having used the number of arguments to winnow the potentially viable functions, we must now look at whether the argument types match those of the parameters.
因此在这个可行域中有多个点对于目标函数来说会产生相同的值。
So there are multiple points in the feasible region that yield the same value for the objective function.
最后,我们讨论了整型问题的可行域的可视化问题,以及整型和相关放松限制问题的目标函数的处理方法。
Finally, I discussed feasible region visualization for an integer problem and the way it relates to the objective function for an integer and for the corresponding relaxed problem.
在任何可行的时机使用函数库。
如果可行,他就可以在几小时之内,用Python整洁的列表和字典等数据结构,以及列表理解(list comprehension)等整洁的函数编程功能来编写这个代码。
If it was possible he could write it within a few hours with Python's neat data structures such as list and dictionary, neat functional programming features such as list comprehension.
在这个例子中,余下的两个函数都是是可行的。
在公共可行域内优化各个截面的转角,然后加权平均得到目标函数的最优值。
All cross section rotating Angle is optimized in the feasible zone, and the optimal value of target function is calculated.
利用该模型对冲压件截面形状进行了分析,确定了截面转角的公共可行域,并建立了一组目标函数作为优化对象。
With the model, the cross sectional shape of a pressing is analyzed, and the public feasible zone of sectional angle is determined, and a group of target functions are created as optimization objects.
该模型分析了冲压件截面形状,确定所有截面转角的公共可行域,并建立一组目标函数作为优化对象。
The panel cross section is analyzed in the model, and the feasible zone of all cross section rotating angle is located, and a group of target function is proposed as optimized object.
在公共可行域内优化各个截面的转角,然后加权平均可得到目标函数的最优值。
Optimizes turning Angle of various sections in the public feasible zone, and then obtains the optimal value of target functions by evaluating weighted mean.
假定约束是可行、规范的,对于目标函数为正定或半正定的情形,得到了全局最优解的充要条件。
Under the cases that the objective function is positive definite or positive semidefinite, the necessary and sufficient conditions to characterize global optimal solution are obtained.
经抽样检验,这样生成的紊流场的相关函数基本上符合紊流模型的相关特性,因而证实了该方法的可行性。
The correlation of so generated turbulent field is found to be in good agreement with the theoretical correlation of the Dryden model, thus the feasibility of the proposed method is verified.
本文提出了以功率消耗为目标函数、犁面几何参数的可行范围为约束条件的犁面优化设计方法。
This paper proposes an optimal method for plow bottom moldboard design by taking the power consumption of the objective and the feasible region of the geometric parameters for boundary constraints.
算法采用探测包并行地搜索可行路径,并使用启发式函数随机选择下一跳节点。
This algorithm employs probes to search feasible paths in parallel, and USES heuristic functions to randomly select a suitable next node.
从理论上验证了JQ 160型架桥机的设计,提出了一系列目标函数值较小的可行设计方案。
The design of JQ160 type bridge erecting machine is theoretically verified. A series of feasible design alternatives with small value of object function is proposed.
实践证明,在自动扶梯zc1蜗杆传动模糊优化设计中,选择啮合面积为目标函数是正确的、可行的。
It is proved correct and practical to choose the meshing area as the objective function in the fuzzy optical design of ZC1 worm transmission in escalator.
并用PC—1500计算机绘出了可行设计域及目标函数的等高线,确定出优化解。
Variation diagrams in domains of feasible design and contour lines of optimization objective functions are drawn by means of PC-1500 computer. Obtaining optimum solution.
另一方面,有两个double 型参数的f函数可能是可行的。
On the other hand, the function that takes two doubles might be viable.
因此,三次样条函数法是计算土壤水分扩散率的一种简便可行的方法。
Therefore, the method is a simple workable one for calculation of soil water diffusivity.
同时为了抛弃部分不可行点,设计了一个新的适应度函数,其仅仅依赖于个体的不可行度和目标函数值。
Meanwhile, in order to discard some infeasible individuals, a new fitness function is given based on objective function and the degree of constraint violations.
同时为了抛弃部分不可行点,设计了一个新的适应度函数,其仅仅依赖于个体的不可行度和目标函数值。
Meanwhile, in order to discard some infeasible individuals, a new fitness function is given based on objective function and the degree of constraint violations.
应用推荐