A dynamic data structure for temporal reachability with unsorted contact insertions

Temporal graphs represent interactions between entities over the time. These interactions may be direct (a contact between two nodes at some time instant), or indirect, through sequences of contacts called temporal paths (journeys). Deciding whether an entity can reach another through a journey is useful for various applications in communication networks and epidemiology, among other fields. In this paper, we present a data structure which maintains temporal reachability information under the addition of new contacts (i.e., triplets (u, v, t) indicating that node u and node v interacted at time t). In contrast to previous works, the contacts can be inserted in arbitrary order—in particular, non-chronologically—which corresponds to systems where the information is collected a posteriori (e.g. when trying to reconstruct contamination chains among people). The main component of our data structure is a generalization of transitive closure called timed transitive closure (TTC), which allows us to maintain reachability information relative to all nested time intervals, without storing all these intervals, nor the journeys themselves. TTCs are of independent interest and we study a number of their general properties. Let n be the number of nodes and τ be the number of timestamps in the lifetime of the temporal graph. Our data structure answers reachability queries regarding the existence of a journey from a given node to another within given time interval in time O(log τ); it has an amortized insertion time of O(n log τ); and it can reconstruct a valid journey that witnesses reachability in time O(k log τ), where k < n is the maximum number of edges of this journey. Finally, the space complexity of our reachability data structure is O(nτ), which remains within the worst-case size of the temporal graph itself.

[1]  R. Agrawal,et al.  Efficient management of transitive relationships in large data and knowledge bases , 1989, SIGMOD '89.

[2]  Omar Rafiq,et al.  A temporal reachability analysis , 1995, PSTV.

[3]  Edith Cohen,et al.  Reachability and distance queries via 2-hop labels , 2002, SODA '02.

[4]  Afonso Ferreira,et al.  Computing Shortest, Fastest, and Foremost Journeys in Dynamic Networks , 2003, Int. J. Found. Comput. Sci..

[5]  Philip S. Yu,et al.  Dual Labeling: Answering Graph Reachability Queries in Constant Time , 2006, 22nd International Conference on Data Engineering (ICDE'06).

[6]  Shashi Shekhar,et al.  Spatio-temporal Network Databases and Routing Algorithms: A Summary of Results , 2007, SSTD.

[7]  Daniel Bryce,et al.  A Tutorial on Planning Graph Based Reachability Heuristics , 2007, AI Mag..

[8]  Cecilia Mascolo,et al.  Characterising temporal distance and reachability in mobile and online social networks , 2010, CCRV.

[9]  Jean-Loup Guillaume,et al.  Temporal reachability graphs , 2012, Mobicom '12.

[10]  Time-varying graphs and dynamic networks , 2012, Int. J. Parallel Emergent Distributed Syst..

[11]  Gerhard Weikum,et al.  FERRARI: Flexible and efficient reachability range assignment for graph indexing , 2013, 2013 IEEE 29th International Conference on Data Engineering (ICDE).

[12]  Sibo Wang,et al.  Reachability queries on large dynamic graphs: a total order approach , 2014, SIGMOD Conference.

[13]  Serge Chaumette,et al.  Testing Temporal Connectivity in Sparse Dynamic Graphs , 2014, ArXiv.

[14]  Christophe Hurter,et al.  Bundled Visualization of DynamicGraph and Trail Data , 2014, IEEE Transactions on Visualization and Computer Graphics.

[15]  Wei Zeng,et al.  Visualizing Mobility of Public Transportation System , 2014, IEEE Transactions on Visualization and Computer Graphics.

[16]  Mirco Musolesi,et al.  Spatio-temporal networks: reachability, centrality and robustness , 2015, Royal Society Open Science.

[17]  Jinfeng Li,et al.  Reachability and time-based path queries in temporal graphs , 2016, 2016 IEEE 32nd International Conference on Data Engineering (ICDE).

[18]  G. Blelloch,et al.  Just Join for Parallel Ordered Sets , 2016, SPAA.

[19]  Julia Stoyanovich,et al.  Querying Evolving Graphs with Portal , 2016, 1602.00773.

[20]  Aristides Gionis,et al.  Reconstructing an Epidemic Over Time , 2016, KDD.

[21]  Alessandro Bessi,et al.  Analyzing polarization of social media users and news sites during political campaigns , 2017, Social Network Analysis and Mining.

[22]  Jeffrey Xu Yu,et al.  Reachability querying: an independent permutation labeling approach , 2014, The VLDB Journal.

[23]  Marie-Josée Fortin,et al.  Spatio‐temporal connectivity: assessing the amount of reachable habitat in dynamic landscapes , 2017 .

[24]  Jun Luo,et al.  Mining Spatio-Temporal Reachable Regions over Massive Trajectory Data , 2017, 2017 IEEE 33rd International Conference on Data Engineering (ICDE).

[25]  Marco Fiore,et al.  Temporal Reachability in Vehicular Networks , 2018, IEEE INFOCOM 2018 - IEEE Conference on Computer Communications.

[26]  Aristides Gionis,et al.  Robust Cascade Reconstruction by Steiner Tree Sampling , 2018, 2018 IEEE International Conference on Data Mining (ICDM).

[27]  Aristides Gionis,et al.  Reconstructing a cascade from temporal observations , 2018, SDM.

[28]  Jessica Enright,et al.  Deleting edges to restrict the size of an epidemic in temporal networks , 2018, MFCS.