共查询到20条相似文献,搜索用时 15 毫秒
1.
Haejae Jung 《Information Processing Letters》2005,93(2):63-67
This paper presents a generalized and cache-aligned implicit version of the deap, called d-deap* that utilizes cache memory efficiently. The d-deap* is based on a tree structure that may be mapped into a cache-aligned array without padding. This results in a match between node indexes and array indexes as well as good cache utilization. Experimental results show that the d-deap* clearly outperforms the symmetric min-max heap and deap structures proposed earlier for double-ended priority queues. 相似文献
2.
Guilherme D. da Fonseca 《Information Processing Letters》2003,85(3):165-169
The most natural kinetic data structure for maintaining the maximum of a collection of continuously changing numbers is the kinetic heap. Basch, Guibas, and Ramkumar proved that the maximum number of events processed by a kinetic heap with n numbers changing as linear functions of time is O(nlog2n) and . We prove that this number is actually Θ(nlogn). In the kinetic heap, a linear number of events are stored in a priority queue, consequently, it takes O(logn) time to determine the next event at each iteration. We also present a modified version of the kinetic heap that processes O(nlogn/loglogn) events, with the same O(logn) time complexity to determine the next event. 相似文献
3.
4.
We design compact and responsive kinetic data structures for detecting collisions between n convex fat objects in 3-dimensional space that can have arbitrary sizes. Our main results are:
M.A. and S.-H.P. were supported by the Netherlands’ Organisation for Scientific Research (NWO) under project no. 612.065.307.
M.d.B. was supported by the Netherlands’ Organisation for Scientific Research (NWO) under project no. 639.023.301. 相似文献
(i) | If the objects are 3-dimensional balls that roll on a plane, then we can detect collisions with a KDS of size O(nlog n) that can handle events in O(log 2 n) time. This structure processes O(n 2) events in the worst case, assuming that the objects follow constant-degree algebraic trajectories. |
(ii) | If the objects are convex fat 3-dimensional objects of constant complexity that are free-flying in ℝ3, then we can detect collisions with a KDS of O(nlog 6 n) size that can handle events in O(log 7 n) time. This structure processes O(n 2) events in the worst case, assuming that the objects follow constant-degree algebraic trajectories. If the objects have similar sizes then the size of the KDS becomes O(n) and events can be handled in O(log n) time. |
5.
6.
基于支吊架标准和形式的分析,抽象出了支吊架拓扑结构的层次模型,提出了基于对偶智能点的支吊架拓扑约束模型,解决了支吊架拓扑关系多元性和层次性导致的智能组嵌套问题。使用拓扑约束模板表达支吊架设计标准,将支吊架设计转化为多元约束求解,解决了支吊架设计中设计标准的多样性和专业间的紧密协同性两个关键性问题。 相似文献
7.
8.
9.
《International Journal of Parallel, Emergent and Distributed Systems》2012,27(3-4):281-299
Abstract We design a cost-optimal algorithm for managing a parallel heap on an exclusive-read exclusive-write (EREW), parallel random access machine (PRAM) model. We also analyze the time and space complexities of our algorithm, which efficiently employs p processors in the range 1 ≤ p ≤ n, where n is the maximum number of items in the parallel heap. It is assumed that a delete-think-insert cycle is repeatedly performed, and each processor requires an arbitrary but the same amount of time (called the think time) for processing an item which in turn generates at most two new items. The use of a global data structure for each level of the heap helps reduce the working memory space required. The time complexity for deleting p items of the highest priority from the parallel heap is O(logp), while that for inserting at most 2p new items is O(logn). With or without incorporating the think time, the speedup of our algorithm is shown to be linear, i.e. O(p). Hence this algorithm is an improvement in time over the one proposed by Deo and Prasad [5, 6]. 相似文献
10.
11.
Akira Sugahara Tetsuya Takine Yutaka Takahashi Toshiharu Hasegawa 《Performance Evaluation》1995,21(3)
This paper considers a nonpreemptive priority queueing system with two priority classes of customers, where high priority customers arrive to the system in accordance with a switched Poisson process (SPP) and low priority customers in accordance with a Poisson process. Using the supplementary variable technique, we derive the joint probability generating function of the stationary queue length distributions and the Laplace-Stieltjes transforms of the stationary waiting time distributions of high and low priority customers. We also present some numerical results in order to show the computational feasibility of the analytical results. 相似文献
12.
IEEE802.11是一种无线局域网标准,它采用CSMA/CA算法,有两种工作模式——DCF和PCF。当无线站点工作于DCF模式时,可以方便地构建自组网络.DCF模式是一种随机的无线信道共享方式,不能保障语音、视频等实时业务。本文按照各种业务的服务需求,在DCF中引入并行优先级队列,使这些队列接入信道的参数DIFS和CW与各种类型应用相对应,从而在MAC层中实现服务区分。 相似文献
13.
IP报文优先级分配的一种方案 总被引:4,自引:1,他引:3
王博文 《计算机工程与应用》2002,38(18):186-187
IP路由器在处理到达的报文时可有多种排队方式犤1,2犦。文章提出的将用户数据报类型及报文长度综合考虑的多级优先多队列方案,可改善该排队系统的平均时延,而保持原有的QoS。文章同时给出方案的报文平均等待时间的绝对与相对的数量分析。对于报文长度与优先级的关系问题,以往典型的提法是“短报文应优先,以免被长报文拖延”犤5犦,这种提法有其片面性。实际上,短报文应优先,以改善排队系统的系统平均时延;而如果按报文长度赋予优先级,短报文优先,则可达到最佳系统平均时延。 相似文献
14.
随机早期检测算法RED作为一种重要的主动队列管理算法,通过有效地控制队列长度,取得较好的吞吐量性能。然而,当多个业务流存在不同优先级时,不能很好地区分服务质量。提出一种新的RED改进算法—PbRED,基于业务的优先级调整丢弃概率,通过减小高优先级的丢弃概率、增大低优先级的丢弃概率,为不同优先级的业务进行区分服务。仿真实验结果表明,在获得较高吞吐量的同时,PbRED可以使不同优先级业务流的服务质量存在合理区分度,保证高优先级业务流获得更好的吞吐量性能。 相似文献
15.
16.
We introduce two data-structural transformations to construct double-ended priority queues from priority queues. To apply
our transformations the priority queues exploited must support the extraction of an unspecified element, in addition to the
standard priority-queue operations. With the first transformation we obtain a double-ended priority queue which guarantees
the worst-case cost of O(1) for find-min, find-max, insert, extract; and the worst-case cost of
O(lg n) with at most lg n + O(1) element comparisons for delete. With the second transformation we get a meldable double-ended priority queue which guarantees the worst-case cost of O(1) for find-min, find-max, insert, extract; the worst-case cost of O(lg n) with at most lg n + O(lg lg n) element comparisons for delete; and the worst-case cost of O(min {lg m, lg n}) for meld. Here, m and n denote the number of elements stored in the data structures prior to the operation in question.
The work of the authors was partially supported by the Danish Natural Science Research Council under contracts 21-02-0501
(project Practical data structures and algorithms) and 272-05-0272 (project Generic programming—algorithms and tools). A.
Elmasry was supported by Alexander von Humboldt fellowship. 相似文献
17.
区分服务模型是现代大规模网络保证IP QoS的主要模型,该模型是当前互联网通讯性能方面研究的热点问题。在改进RIO-C算法的基础上,提出了一种适合于区分服务模型的主动队列管理算法-PFRIO(RIO based on Priority and Fair)。该算法提高了带宽分配的公平性,增强了网络对突发数据流的处理能力,有效改善了区分服务模型的总体性能。 相似文献
18.
19.
提出一种针对移动自组网的动态优先权队列调度机制(Dynamic Priority Queue Scheduling,DPQS)。为缓冲区设置最大、最小两个阈值,将其分为三个不同的负载阶段,然后根据当前缓冲区的负载情况动态调整各种类型数据包的优先等级,从而在不影响快速建立路由的前提下,降低数据包在网络中的传输延时,提高网络的性能。仿真结果表明DPQS机制有效地降低了网络传输延时,并对网络的吞吐量也有一定的提高。 相似文献
20.
提出一种针对移动自组网的动态优先权队列调度机制(DynamicPriorityQueueScheduling,DPQS)。为缓冲区设置最大、最小两个阈值,将其分为三个不同的负载阶段,然后根据当前缓冲区的负载情况动态调整各种类型数据包的优先等级,从而在不影响快速建立路由的前提下,降低数据包在网络中的传输延时,提高网络的性能。仿真结果表明DPQS机制有效地降低了网络传输延时,并对网络的吞吐量也有一定的提高。 相似文献