Fully Retroactive Priority Queues using Persistent Binary Search Trees

JoseWagner de Andrade Junior, Rodrigo Duarte Seabra
2020 Journal of Computer Science  
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
more » ... 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.
doi:10.3844/jcssp.2020.906.915 fatcat:ck6oxum5ezfkpcxkk6qh5qixn4