template method
模板方法,样版方法
2025-11-01 20:48 浏览次数 13
模板方法,样版方法
the similarity into the template method is introduced, which finds the rules of concern by pruning.
提出一种基于相似性的关联规则启发式发现方法。
a review is presented on the synthesis of non-cabonic nanotubes such as chemical-vapour deposition, laser ablation, hydrothermal, template method and self-assembling method.
介绍非碳类纳米管的合成方法,包括化学气相沉积法、激光烧蚀法、水热法、模板法和自组装法等。
to do the actual collecting, the template method testresult.runprotected(..) brackets test execution with start and end housekeeping calls and interprets exceptions thrown as negative test results.
为了完成采集工作,template methodtestresult.runprotected(..) 将测试执行放在start和end 辅助调用(housekeepingcall)之间,把抛出的异常解释为负的测试结果。
similarly, classes using the template method pattern contain a series of steps, and some are left blank.
类似地,采用template method模式的类也包含一系列的步骤,而其余的则留空。
template method lets subclasses redefine certain steps of an algorithm without changing the algorithm「s structure .
模板方法模式让子类不需要改变算法结构而重新定义特定的算法步骤。
this is slightly more complex to implement than the version using concrete inheritance with the template method pattern, but is more flexible.
这稍微的更复杂去实现比用模板方法模式在类继承的版本中,但是也更灵活。
simulation result showed that target recognition ratio can be improved by 7.8% with the modified algorithm, which shows that the decision template method is effective.
仿真结果表明改进的决策模板法比经典的决策模板法识别率提高7.8% ,是一种比较有效的识别方法。
a servlet that uses the template method pattern to encapsulate a three-step workflow.
一个采用template method模式的servlet封装一个包含三个步骤的工作流。
the synthetic methods such as cvd, solvothermal and template method for preparation of spherical structured carbon materials are introduced.
综述了近年来国内外球形碳材料的合成方法,如化学气相沉积、溶剂热法和模板法等;
this dissertation mainly studies on the preparation of polymeric-inorganic composite microspheres of core-shell structure based on template method of polymeric hydrogel microspheres.
本论文主要对基于高分子水凝胶微球为模板制备有机—无机复合材料进行了研究。
the template method pattern suggests that i should move common boilerplate code up the inheritance hierarchy, deferring algorithmic details to child classes.
template method模式建议,应当将公共模板代码移到继承层次结构之上,将算法细节推迟到子类。
the template method design pattern (gof) addresses a common problem: we know the steps of an algorithm and the order in which they should be performed, but don」t know how to perform all of the steps.
模板方法设计模式(gof)强调了一个普遍的问题:我们知道算法的每一步,并且知道他们执行的顺序,但是我们不知道怎么样去执行所有的这些步骤。
the arithmetic uses template method to extract feature, making operation more easily and result of extracted feature better.
该算法用模板法进行提取特征,这种方法更易操作,提取特征的效果也好。
template method lets subclasses redefine certain steps of an algorithm without changing the algorithm「s structure.
模板方法模式使得子类可以不改变一个算法的结构即可重定义该算法的某些特定步骤。
the 「bridge」 role from the broker pattern was then implemented using the template method pattern to support remote service invocation using several different underlying communication technologies.
中介模式的「桥接」角色是使用模板方法模式实现的,它通过几种不同的基础通信技术,为远程服务调用提供支持。
now, given that we」re using the template method pattern, think of the methods in listing 4 as the blanks and the code in listing 5 as the story that assembles them
现在,假设我们正在使用template method模式,那么我们可以将 清单4中的方法看作是空白,而清单5 中的代码是组成故事的情节
it extracts the concept pair of the fairy tale, experimental results show that the primary and secondary template method has high precision rate.
对童话故事内容进行抽取概念对的实验,结果表明,采用主次模板方法具有较高的正确率。
this paper proposes a primary and secondary template method to construct the conceptual relation of fairy tale.
提出一种主次模板方法,构建面向童话故事的概念关系。
using the template method for implementing the bridge role of the broker pattern provided a mechanism for adding alternative types of external communication in the future.
使用模板方法实现中介模式的桥接角色,这种做法提供了一种可以在将来添加外部通信备用类型的机制。
an alternative to the template method is the strategy design pattern, which factors the variant behavior into an interface.
模板方法模式的另一个选择是策略模式,它抽取了多变的行为到一个接口中。
template method lets subclasses redefine certain steps of an algorithm without changing the algorithm’s structure.
template method允许子类重定义算法中的某些步骤,而不需要改变算法的结构。
template method pattern of gof and the realization of template method pattern in back tracing algorithm are introduced.
在此介绍采用gof的模板方法模式及采用回溯算法的模板方法模式的设计与实现。
the invention provides a method for synthesizing tin oxide nano-crystal by combining template method with hydrothermal condition.
本发明提供一种模板法结合水热条件合成氧化锡纳米晶的方法。
the template method pattern defines the skeleton of an algorithm in a base class, using abstract methods and overriding to defer individual details to child classes.
template method模式定义了基类算法的骨架,使用了抽象方法和覆盖将具体细节放到子类中。