Fully Retroactive Priority Queues using Persistent Binary Search Trees
JoseWagner de Andrade Junior1 & Rodrigo Duarte Seabra1 Show affiliations
- Federal University of Itajuba, Itajuba, Brazil
Journal of Computer Science, Volume 16, Issue 7, pp. 906–915 · doi.org/10.3844/jcssp.2020.906.915
Abstract
Classic dynamic data structures maintains itself subject to sequence S of operations and answer queries using the latest version of the data structure. Retroactive data structures are those which allow making a modification or a query in any version of this data structure through its timeline. These data structures are used in some geometric problems and in problems related with graphs, such as the minimum path problem in dynamic graphs. This work presents how to implement a data structure to a fully retroactive version of a priority queue through persistent self-balanced binary search trees in polylogarithmic time. We use these data structures to improve the performance merging two versions of partially retroactive priority queues. The empirical analysis showed that the average performance of the proposed algorithm is better in terms of processing times than the other algorithms, despite the high constants in its complexity.
Licence and reuse
Open access. This article is licensed under a Creative Commons Attribution 3.0 Licence (CC BY 3.0), as printed on the article, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original authors and the source. No permission is needed.
How to reuse this articleResponses (0)
About this article
Junior, J. A. & Seabra, R. D. (2020). Fully Retroactive Priority Queues using Persistent Binary Search Trees. Journal of Computer Science, 16(7), 906–915. https://doi.org/10.3844/jcssp.2020.906.915
- Licence
- CC BY 3.0
- Issue
- Volume 16, Issue 7
- Policies
- Editorial independenceUse of generative AIData availabilityAppeals and complaints
- Version
- Version of record
