Sign inSubmit
computersciencejournal.org is not ours. This journal is published only at thescipub.com/jcs. Report a suspicious emailcomputersciencejournal.org is not ours · Report
ArticleArticle metrics
Research Article · Open access · Published 14 July 2020

Fully Retroactive Priority Queues using Persistent Binary Search Trees

JoseWagner de Andrade Junior1 & Rodrigo Duarte Seabra1

Journal of Computer Science, Volume 16, Issue 7, pp. 906–915 · doi.org/10.3844/jcssp.2020.906.915

7,006 accesses4,476 downloads0 citations (Crossref)Journal metrics
Cite Check for updates

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 article

Responses (0)

Have a comment on this research? Sign in to respond. Responses are moderated and published with your name and affiliation; the authors are invited to reply. How we use your dataWrite a response

About this article

Cite 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
Fully Retroactive Priority Queues using Persistent Binary Search TreesJournal of Computer Science · Volume 16, Issue 7 · pp. 906–915 · CC BY 3.0Download