arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2102.04187cs.DScs.CC
收藏

一种支持不可排序接触插入的时间可达性的动态数据结构

A Dynamic Data Structure for Temporal Reachability with Unsorted Contact Insertions

Luiz F. Afra Brito, Marcelo Albertini, Arnaud Casteigts, Bruno A. N. Travençolo

摘要:

时间图表示实体之间随时间的交互。这些交互可以是直接的(两个节点在某个时刻的接触),也可以是间接的,通过称为时间路径(旅程)的接触序列。决定一个实体是否可以通过旅程到达另一个实体对于通信网络和流行病学等领域的各种应用都很有用。在本文中,我们提出了一种数据结构,该结构在添加新联系人的情况下维护时间可达性信息(即,指示节点$u$和节点$v$在时间$t$交互的三元组$(u,v,t)$)。与以前的工作相比,接触可以以任意顺序插入-特别是,非时间顺序-这对应于事后收集信息的系统(例如,当试图重建人群中的污染链时)。我们的数据结构的主要组成部分是一个广义的传递闭包,称为定时传递闭包(TTC),它允许我们维护相对于所有嵌套的时间间隔的可达性信息,而不存储所有这些间隔,也不行程本身。TTC是独立的利益,我们研究了一些他们的一般属性。令$n$是节点的数量,$τ$是时间图的生命周期中的时间戳的数量。我们的数据结构回答可达性查询的存在,从一个给定的节点到另一个给定的时间间隔内的时间$O(\logτ)$的旅程;它有一个摊销的插入时间$O(n^2\logτ)$ ;它可以重建一个有效的旅程,见证可达性的时间$O(k\logτ)$,其中$k<n$是这个旅程的边缘的最大数量。最后,我们的可达性数据结构的空间复杂度是$O(n^2τ)$,它保持在时间图本身的最坏情况大小之内。

英文摘要:

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^2\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^2τ)$, which remains within the worst-case size of the temporal graph itself.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑