A Dynamic Data Structure for Representing Timed Transitive Closures on Disk
Abstract
Temporal graphs represent interactions between entities over time. These interactions may be direct, a contact between two vertices at some time instant, or indirect, through sequences of contacts called journeys. Deciding whether an entity can reach another through a journey is useful for various applications in complex networks. In this paper, we present a disk-based data structure that maintains temporal reachability information under the addition of new contacts in a non-chronological order. It represents the \emph{timed transitive closure} (TTC) by a set of \emph{expanded} R-tuples of the form , which encodes the existence of journeys from vertex to vertex with departure at time and arrival at time . Let be the number of vertices and be the number of timestamps in the lifetime of the temporal graph. Our data structure explicitly maintains this information in linear arrays using space so that sequential accesses on disk are prioritized. Furthermore, it adds a new unsorted contact accessing sequential pages in the worst-case, where is the of pages on disk; it answers whether there is of a journey from a vertex to a vertex within a time interval accessing a single page; it answers whether all vertices can reach each other in ; and it reconstructs a valid journey that validates the reachability from a vertex to a vertex within accessing pages. Our experiments show that our novel data structure are better that the best known approach for the majority of cases using synthetic and real world datasets.
Keywords
Cite
@article{arxiv.2306.13937,
title = {A Dynamic Data Structure for Representing Timed Transitive Closures on Disk},
author = {Luiz F. Afra Brito and Marcelo Keese Albertini and Bruno A. N. Travençolo},
journal= {arXiv preprint arXiv:2306.13937},
year = {2023}
}
Comments
22 pages, 4 figures