-
Dynamic Compact Data Structure for Temporal Reachability with Unsorted Contact Insertions
Authors:
Luiz Fernando Afra Brito,
Marcelo Keese Albertini,
Bruno Augusto Nassif Travençolo,
Gonzalo Navarro
Abstract:
Temporal graphs represent interactions between entities over time. Deciding whether entities can reach each other through temporal paths is useful for various applications such as in communication networks and epidemiology. Previous works have studied the scenario in which addition of new interactions can happen at any point in time. A known strategy maintains, incrementally, a Timed Transitive Cl…
▽ More
Temporal graphs represent interactions between entities over time. Deciding whether entities can reach each other through temporal paths is useful for various applications such as in communication networks and epidemiology. Previous works have studied the scenario in which addition of new interactions can happen at any point in time. A known strategy maintains, incrementally, a Timed Transitive Closure by using a dynamic data structure composed of $O(n^2)$ binary search trees containing non-nested time intervals. However, space usage for storing these trees grows rapidly as more interactions are inserted. In this paper, we present a compact data structures that represent each tree as two dynamic bit-vectors. In our experiments, we observed that our data structure improves space usage while having similar time performance for incremental updates when comparing with the previous strategy in temporally dense temporal graphs.
△ Less
Submitted 22 August, 2023;
originally announced August 2023.
-
A Dynamic Data Structure for Representing Timed Transitive Closures on Disk
Authors:
Luiz F. Afra Brito,
Marcelo Keese Albertini,
Bruno A. N. Travençolo
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 maintain…
▽ More
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 $(u, v, t^-, t^+)$, which encodes the existence of journeys from vertex $u$ to vertex $v$ with departure at time $t^-$ and arrival at time $t^+$. Let $n$ 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 $O(n^2τ)$ space so that sequential accesses on disk are prioritized. Furthermore, it adds a new unsorted contact $(u, v, t)$ accessing $O\left(\frac{n^2τ}{B}\right)$ sequential pages in the worst-case, where $B$ is the of pages on disk; it answers whether there is of a journey from a vertex $u$ to a vertex $v$ within a time interval $[t_1, t_2]$ accessing a single page; it answers whether all vertices can reach each other in $[t_1, t_2]$; and it reconstructs a valid journey that validates the reachability from a vertex $u$ to a vertex $v$ within $[t_1, t_1]$ accessing $O\left(\frac{nτ}{B}\right)$ 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.
△ Less
Submitted 24 June, 2023;
originally announced June 2023.
-
A Review of In-Memory Space-Efficient Data Structures for Temporal Graphs
Authors:
Luiz F. A. Brito,
Bruno A. N. Travençolo,
Marcelo K. Albertini
Abstract:
Temporal graphs model relationships among entities over time. Recent studies applied temporal graphs to abstract complex systems such as continuous communication among participants of social networks. Often, the amount of data is larger than main memory, therefore, we need specialized structures that balance space usage and query efficiency. In this paper, we review space-efficient data structures…
▽ More
Temporal graphs model relationships among entities over time. Recent studies applied temporal graphs to abstract complex systems such as continuous communication among participants of social networks. Often, the amount of data is larger than main memory, therefore, we need specialized structures that balance space usage and query efficiency. In this paper, we review space-efficient data structures that bring large temporal graphs from external memory to primary memory and speed up specialized queries. We found a great variety of studies using data compression techniques and self-indexed compressed data structures. We point further research directions to improve the current state-of-the-art.
△ Less
Submitted 26 April, 2022;
originally announced April 2022.
-
VisGraphNet: a complex network interpretation of convolutional neural features
Authors:
Joao B. Florindo,
Young-Sup Lee,
Kyungkoo Jun,
Gwanggil Jeon,
Marcelo K. Albertini
Abstract:
Here we propose and investigate the use of visibility graphs to model the feature map of a neural network. The model, initially devised for studies on complex networks, is employed here for the classification of texture images. The work is motivated by an alternative viewpoint provided by these graphs over the original data. The performance of the proposed method is verified in the classification…
▽ More
Here we propose and investigate the use of visibility graphs to model the feature map of a neural network. The model, initially devised for studies on complex networks, is employed here for the classification of texture images. The work is motivated by an alternative viewpoint provided by these graphs over the original data. The performance of the proposed method is verified in the classification of four benchmark databases, namely, KTHTIPS-2b, FMD, UIUC, and UMD and in a practical problem, which is the identification of plant species using scanned images of their leaves. Our method was competitive with other state-of-the-art approaches, confirming the potential of techniques used for data analysis in different contexts to give more meaningful interpretation to the use of neural networks in texture classification.
△ Less
Submitted 27 August, 2021;
originally announced August 2021.
-
Practical evaluation of Lyndon factors via alphabet reordering
Authors:
Marcelo K. Albertini,
Felipe A. Louza
Abstract:
We evaluate the influence of different alphabet orderings on the Lyndon factorization of a string. Experiments with Pizza & Chili datasets show that for most alphabet reorderings, the number of Lyndon factors is usually small, and the length of the longest Lyndon factor can be as large as the input string, which is unfavorable for algorithms and indexes that depend on the number of Lyndon factors.…
▽ More
We evaluate the influence of different alphabet orderings on the Lyndon factorization of a string. Experiments with Pizza & Chili datasets show that for most alphabet reorderings, the number of Lyndon factors is usually small, and the length of the longest Lyndon factor can be as large as the input string, which is unfavorable for algorithms and indexes that depend on the number of Lyndon factors. We present results with randomized alphabet permutations that can be used as a baseline to assess the effectiveness of heuristics and methods designed to modify the Lyndon factorization of a string via alphabet reordering.
△ Less
Submitted 10 August, 2021;
originally announced August 2021.