首页 | 本学科首页   官方微博 | 高级检索  
相似文献
 共查询到20条相似文献,搜索用时 7 毫秒
1.
Visitor模式是诸多设计模式中重要的一种。该文探讨了GIS中地理要素的绘制,通过对各种方法的对比,循序渐进地论述了Visitor模式作为最终设计方案的过程,并且说明了使用这种设计模式的所带来的好处。  相似文献   

2.
设计模式可以用来解决软件设计过程中反复出现的问题,因此具有一定的普遍性,同时与开发平台也是密切相关的。在不同的开发平台上,设计模式的实现方式往往会有很大的差别。在面向对象设计理论指导下,通过分析Visitor设计模式的优缺点,提出了在.Net平台下的改进方案。该方案降低了各个类之间的耦合度,使Visitor模式的使用更加简单灵活。对于文中每一种模式,都给出了UML类图和C#实现的代码片断。  相似文献   

3.
对当前软件重构领域中的研究作了概括性介绍。对作为重构的主导思想和系统体系结构的总体转换方向的设计模式进行介绍,针对原有的Visitor设计模式在运行中操作调用频繁时资源消耗过大和运行效率降低的不足,在原模式基础上进行改良和优化,生成一种新的设计模式Visitor*,并对其具体分析,通过操作函数的上移和accept方法的重定义,实现了操作定义由Element层到Visitor层的等价转化,大大节省资源和提高运行效率。最后运用Visitor^*实现了一个面向对象设计过程中的重构,并结合一些重要概念对其进行具体分析。  相似文献   

4.
刘京锐  孙纪安 《程序员》2006,(8):150-153
“本文全面地介绍了一种新的设计模式: Pipeline to Visitor即管线到访问器的设计模式。此模式在构建软件组件的同时,使软件具有高可维护性。”  相似文献   

5.
一种基于双Servlet控制器的MVC模式的设计与研究   总被引:1,自引:0,他引:1  
MVC模式是开发Web应用程序的一种重要方法。文中首先简要介绍了通常的MVC模式及其运行过程,然后在此基础上提出了一种改进的MVC模式,即一种含有两个Servlet控制器的混合型MVC模式,并详细介绍了这种模式的设计和实现,最后分析了这种改进后的新模式的性能和特点。  相似文献   

6.
邱旭东  刘文浩 《微机发展》2006,16(8):134-136
介绍了传统的基于JSP的两种MVC基本开发模式,并对它们的特点和体系结构进行了分析和比较。为了提高基于传统开发模式的WEB系统中代码的可重复性、可维护性和开发独立性,从数据库访问技术、XML技术和框架技术角度,提出了一种MVC改进模式,并阐述了基于此MVC改进模式进行开发的技术原理。最后从设计角度和开发结构方面,给出一个依据此MVC改进模式实现的开发框架及其主要代码。  相似文献   

7.
邓珂  王宏 《微计算机信息》2008,24(12):197-198
针对SECS-Ⅱ (SEMI Equipment Communications Standard 2 Message Content)特殊的消息格式,提出一种面向对象的实现方法.系统中定义了同标准中规定的数据类型相对应的类以及相关操作,并使用了Composite和Visitor设计模式.系统可以按照用户需求创建SECS-Ⅱ消息.完成消息编码、解码等功能.该系统的优点是能够动态创建消息且可扩展性强.  相似文献   

8.
GPS-RTK定位方法与TD-SCDMA网络相结合,提出一种新的定位模式.该模式可以为TD-SCDMA网络中的移动用户提供一种改进的定位服务,实现厘米级定位精度,并且可以满足高速移动情况下的实时动态定位请求.详细描述了改进的准RTK算法及其详细的公式推导过程,介绍了网络辅助GPS的原理及优势.  相似文献   

9.
一种改进的BMH模式匹配算法   总被引:1,自引:0,他引:1  
刘胜飞  张云泉 《计算机科学》2008,35(11):164-165
分析了目前网络上最流行的BM算法及其改进算法BMH,在此基础上提出了BMH算法的改进算法BMH2。考虑了模式串自身的特征,在原有移动距离数组的基础上增加一个新的移动数组,从而充分利用模式串特征进行更大距离的移动,使算法获得更高的效率。实验证明,改进后的算法能够增加“坏字符”方法的右移量,有效地提高匹配速率。  相似文献   

10.
从面向构件方法学及软件体系结构的观点出发,致力于探讨观察者模式(Observer)的改进及其构架设计问题.分析现有Observer模式的原理和缺陷;进而采用统一建模语言描述改进模式的结构模型和行为模型;最后,将其应用到联销管理软件中,采用ADL形式描述语言ACME定义联销管理的构件模板.所提出的改进模式可实现目标与观察者的彻底解耦,增强观察粒度和安全性,提高目标状态的传递效率,并在联销管理软件的研制中取得了良好的应用效果.  相似文献   

11.
Abstract This paper describes an approach to the design of interactive multimedia materials being developed in a European Community project. The developmental process is seen as a dialogue between technologists and teachers. This dialogue is often problematic because of the differences in training, experience and culture between them. Conditions needed for fruitful dialogue are described and the generic model for learning design used in the project is explained.  相似文献   

12.
European Community policy and the market   总被引:1,自引:0,他引:1  
Abstract This paper starts with some reflections on the policy considerations and priorities which are shaping European Commission (EC) research programmes. Then it attempts to position the current projects which seek to capitalise on information and communications technologies for learning in relation to these priorities and the apparent realities of the marketplace. It concludes that while there are grounds to be optimistic about the contribution EC programmes can make to the efficiency and standard of education and training, they are still too technology driven.  相似文献   

13.
融合集成方法已经广泛应用在模式识别领域,然而一些基分类器实时性能稳定性较差,导致多分类器融合性能差,针对上述问题本文提出了一种新的基于多分类器的子融合集成分类器系统。该方法考虑在度量层融合层次之上通过对各类基多分类器进行动态选择,票数最多的类别作为融合系统中对特征向量识别的类别,构成一种新的自适应子融合集成分类器方法。实验表明,该方法比传统的分类器以及分类融合方法识别准确率明显更高,具有更好的鲁棒性。  相似文献   

14.
Development of software intensive systems (systems) in practice involves a series of self-contained phases for the lifecycle of a system. Semantic and temporal gaps, which occur among phases and among developer disciplines within and across phases, hinder the ongoing development of a system because of the interdependencies among phases and among disciplines. Such gaps are magnified among systems that are developed at different times by different development teams, which may limit reuse of artifacts of systems development and interoperability among the systems. This article discusses such gaps and a systems development process for avoiding them.  相似文献   

15.
This paper presents control charts models and the necessary simulation software for the location of economic values of the control parameters. The simulation program is written in FORTRAN, requires only 10K of main storage, and can run on most mini and micro computers. Two models are presented - one describes the process when it is operating at full capacity and the other when the process is operating under capacity. The models allow the product quality to deteriorate to a further level before an existing out-of-control state is detected, and they can also be used in situations where no prior knowledge exists of the out-of-control causes and the resulting proportion defectives.  相似文献   

16.
Going through a few examples of robot artists who are recognized worldwide, we try to analyze the deepest meaning of what is called “robot art” and the related art field definition. We also try to highlight its well-marked borders, such as kinetic sculptures, kinetic art, cyber art, and cyberpunk. A brief excursion into the importance of the context, the message, and its semiotics is also provided, case by case, together with a few hints on the history of this discipline in the light of an artistic perspective. Therefore, the aim of this article is to try to summarize the main characteristics that might classify robot art as a unique and innovative discipline, and to track down some of the principles by which a robotic artifact can or cannot be considered an art piece in terms of social, cultural, and strictly artistic interest. This work was presented in part at the 13th International Symposium on Artificial Life and Robotics, Oita, Japan, January 31–February 2, 2008  相似文献   

17.
Although there are many arguments that logic is an appropriate tool for artificial intelligence, there has been a perceived problem with the monotonicity of classical logic. This paper elaborates on the idea that reasoning should be viewed as theory formation where logic tells us the consequences of our assumptions. The two activities of predicting what is expected to be true and explaining observations are considered in a simple theory formation framework. Properties of each activity are discussed, along with a number of proposals as to what should be predicted or accepted as reasonable explanations. An architecture is proposed to combine explanation and prediction into one coherent framework. Algorithms used to implement the system as well as examples from a running implementation are given.  相似文献   

18.
This paper provides the author's personal views and perspectives on software process improvement. Starting with his first work on technology assessment in IBM over 20 years ago, Watts Humphrey describes the process improvement work he has been directly involved in. This includes the development of the early process assessment methods, the original design of the CMM, and the introduction of the Personal Software Process (PSP)SM and Team Software Process (TSP){SM}. In addition to describing the original motivation for this work, the author also reviews many of the problems he and his associates encountered and why they solved them the way they did. He also comments on the outstanding issues and likely directions for future work. Finally, this work has built on the experiences and contributions of many people. Mr. Humphrey only describes work that he was personally involved in and he names many of the key contributors. However, so many people have been involved in this work that a full list of the important participants would be impractical.  相似文献   

19.
基于复小波噪声方差显著修正的SAR图像去噪   总被引:4,自引:1,他引:3  
提出了一种基于复小波域统计建模与噪声方差估计显著性修正相结合的合成孔径雷达(Synthetic Aperture Radar,SAR)图像斑点噪声滤波方法。该方法首先通过对数变换将乘性噪声模型转化为加性噪声模型,然后对变换后的图像进行双树复小波变换(Dualtree Complex Wavelet Transform,DCWT),并对复数小波系数的统计分布进行建模。在此先验分布的基础上,通过运用贝叶斯估计方法从含噪系数中恢复原始系数,达到滤除噪声的目的。实验结果表明该方法在去除噪声的同时保留了图像的细节信息,取得了很好的降噪效果。  相似文献   

20.
Abstract  This paper considers some results of a study designed to investigate the kinds of mathematical activity undertaken by children (aged between 8 and 11) as they learned to program in LOGO. A model of learning modes is proposed, which attempts to describe the ways in which children used and acquired understanding of the programming/mathematical concepts involved. The remainder of the paper is concerned with discussing the validity and limitations of the model, and its implications for further research and curriculum development.  相似文献   

设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号