共查询到20条相似文献,搜索用时 62 毫秒
1.
讨论了数据结构中循环队列入队算法的设计思想并提出了解决队列满时的可行方法,解决了数据结构教材中没有解决的问题。 相似文献
2.
张海霞 《计算机光盘软件与应用》2012,(3):91-92
循环队列在定义时总是事先规定一个最大值MAXSIZE来确定队列的最大存储空间,在使用中若初始值MAXSIZE太小会造成存储空间不够用的问题。一般的做法是停止程序的执行,修改MAXSIZE的值。若MAXSIZE太大则会造成存储空间的浪费,不能实现动态扩充的目的。在此提出了一种新的实现循环队列存储空间动态扩充的方法,解决了存储空间不够用的问题,同时也成功地避免了循环队列中存储空间的浪费问题。最后比较了此方法与传统方法的优劣。 相似文献
3.
<正>1队列的概念队列(queue}是限定仅在一端插人,另一端删除的线性表。.允许插人的一端叫队尾(rear),允许删除的一端叫队头伍。nt)。.不含元素的空表称为空队列。。队列的运算特性是先进先出(F irstIn First out一FIFO)。2队列的存储结构2.1队列的链式存储结构一链队列链队列需要队头和队尾两个指针来确定。说明如下: 相似文献
4.
5.
提出了一种在远程异步复制系统(remote asynchronous replication system,RARS)中的数据多缓冲方法.该方法主要包括基于Windows基本卷[3]的海量缓存模型和基于内存的发送缓冲模型.给出了海量缓存和发送缓冲的定义和实现方法,并对该方法进行了性能测试和分析.实验结果表明,该方法解决了磁盘读写速度与网络数据传输速度不匹配的问题,同时不影响本地数据中心数据备份服务的高可用性. 相似文献
6.
7.
CSFQ算法分析与改进 总被引:2,自引:0,他引:2
核心无状态公平队列调度(CSVQ)算法提供了如同有状态网那样好的公平带宽分配,但它的丢包算法不适用于TCP流。针对TCP流的特点,对CSFQ算法进行如下改进:将缓存队列长度与丢包概率关联起来,用一种类似于RED(random early drop)缓存管理方法解决了缓存频繁溢出导致的一些问题;对TCP流的丢包率进行修正,使用多余带宽来转发TCP包,解决TCP流与UDP流的带宽分配公平性。仿真试验表明,新算法NEW-CSFQ更好地提供数据流公平的频宽共享,对突发流响应较原算法有所提高,且算法复杂度简单,容易在高速核心路由器上实现。 相似文献
8.
姜彦伟 《数字社区&智能家居》2005,(5):5-6
循环队列的遍历算法思想非常简单,以至于人们根本没有去想这样的算法会出现问题,尤其在教材上。本文从循环队列的入队与出队算法出发,对循环队列的遍历算法进行了详细的讨论、分析,指出往往容易被人们所忽视的致命性错误。 相似文献
9.
10.
11.
12.
《IEEE transactions on pattern analysis and machine intelligence》1983,(3):299-305
A local variable-size memory policy called the variable-interval sampled working set (VSWS) policy is described. The results of trace-driven simulation experiments reported here show that VSWS has a static performance comparable to those of the working set (WS) and sampled working set (SWS) policies, a dynamic performance better than those of WS, SWS, and the page fault frequency (PFF) policy, and similar to that of the damped working set (DWS) policy. Furthermore, VSWS generaly causes substantially less process suspensions than SWS, and is less expensive to implement than WS or DWS, since it requires the same hardware support as SWS and PFF. The sampling overhead of VSWS is comparable to that of SWS and lower than that of PFF. 相似文献
13.
Semantic Web Services (SWS) were introduced to facilitate the publication, discovery, and execution of web services. A semantic matchmaker enhances the capability of UDDI service registries in the SWS architecture and it is able to recognize various degrees of matching for web services. On the basis of SWS and fuzzy-set theory, a fuzzy matching approach for semantic web services is proposed, to support a more automated and veracious service discovery process. 相似文献
14.
15.
Semantic Web Services, Part 1 总被引:1,自引:0,他引:1
Semantic Web services (SWS) has been a vigorous technology research area for about six years. A great deal of innovative work has been done, and a great deal remains. Several large research initiatives have been producing substantial bodies of technology, which are gradually maturing. SOA vendors are looking seriously at semantic technologies and have made initial commitments to supporting selected approaches. In the world of standards, numerous activities have reflected the strong interest in this work. Perhaps the most visible of these is Sawsdl (Weerawarana, 2005). Sawsdl recently achieved Recommendation status at the World Wide Web Consortium. Sawsdl's completion provides a fitting opportunity to reflect on the state of the art and practice in SWS - past, present, and future. This two-part installment of Trends & Controversies discusses what has been accomplished in SWS, what value SWS can ultimately provide, and where we can go from here to reap these technologies' benefits. 相似文献
16.
Huayou Si Zhong Chen Yong Deng Lian Yu 《Service Oriented Computing and Applications》2013,7(3):169-180
Semantic web services (SWS) technology is developed to overcome the shortcomings of traditional standards, such as WSDL and UDDI, and enable maximal automation in all aspects of web service. But great improvement of capability in SWS-based service discovery is still desired. To address this issue, we present a distributed and semantic-matching-based approach for SWS publication and discovery by leveraging structured P2P technology. In this paper, first, we present our service matching rule which focuses on the inputs and outputs of SWS. Then, to realize this rule in open distributed environment and achieve the optimal match between a query and its qualified services, we propose not only a concept of ordered-concept-tree (OCT) to semantically sort the relevant concepts for service matching, but also a method to publish ontologies on structured P2P network to freely share and make full use of the concepts defined in different ontologies for OCT construction. Finally, we present a method for SWS publication on P2P network and an algorithm for service discovery. We also conduct experiments to evaluate our approach and the experimental results demonstrate its scalability, effectiveness, and callback capability to discover semantic web services. 相似文献
17.
服务质量(QOS)成为动态选择满足用户需求的Web服务的关键因素。然而目前Web服务的QoS信息描述缺乏语义性,且Web服务的选择还不能做到完全自动化。文章提出一种Web服务的QoS本体结构,并在此QoS本体和原有的语义Web服务的基础上提出基于QoS的语义Web服务选择框架(QSF4SWS)。研究表明,该框架不仅增强了Web服务QoS描述的语义性,而且还能够实现Web服务的动态发现与自动选择。 相似文献
18.
Heitor Barros Alan Silva Evandro Costa Ig Ibert Bittencourt Olavo Holanda Leandro Sales 《Engineering Applications of Artificial Intelligence》2011,24(8):1355-1367
Semantic Web Services domain has gained special attention in academia and industry. It has been adopted as a promise to enable automation of all aspects of Web Services provision and uses, such as service creation, selection, discovery, composition, and invocation. However, the development of intelligent systems based on Semantic Web Services (SWS) is still a complex and time-consuming task, mainly with respect to the choice and integration of technologies. In this paper, we discuss some empirical issues associated with the development process for such systems and propose a systematic way for building intelligent applications based on SWS by providing the development process with steps, techniques and technologies. In addition, one experiment concerning the implementation of a real e-learning system using the proposed approach is described. The evaluation results from this experiment showed that our approach has been effective and relevant in terms of improvements in the development process of intelligent applications based on SWS. 相似文献
19.
In this study, we calculate the spectral reflectivity of pyramid-shaped silicon nitride (Si3N4) sub-wavelength structures (SWS). A multilayer rigorous coupled-wave approach is advanced to investigate the reflection properties of Si3N4 SWS. We examine the simulation results for single layer antireflection (SLAR) and double layer antireflection (DLAR) coatings with SWS on Si3N4 surface, taking into account effective reflectivity over a range of wavelengths and solar efficiency. The results of our study show that a lowest effective reflectivity of 1.77% can be obtained for the examined Si3N4 SWS with the height of etched part of Si3N4 and the thickness of non-etched layer of 150 and 70 nm, respectively, which is less than the results of an optimized 80 nm Si3N4 SLAR (∼5.41%) and of an optimized DLAR with 80 nm Si3N4 and 100 nm magnesium fluoride (∼5.39%). 1% cell efficiency increase is observed for the optimized Si solar cell with Si3N4 SWS, compared with the cell with single layer Si3N4 antireflection coatings (ARCs); furthermore, compared with DLAR coated solar cell, the increase is about 0.71%. The improvement on the cell efficiency is mainly due to lower reflectance of Si3N4 SWS over a wavelength region from 400 to 600 nm that leads to lower short circuit current. 相似文献