Tailored vertex ordering for faster triangle listing in large graphs - Archive ouverte HAL
Communication Dans Un Congrès Année : 2023

Tailored vertex ordering for faster triangle listing in large graphs

Résumé

Listing triangles is a fundamental graph problem with many applications, and large graphs require fast algorithms. Vertex ordering allows the orientation of edges from lower to higher vertex indices, and state-of-the-art triangle listing algorithms use this to accelerate their execution and to bound their time complexity. Yet, only basic orderings have been tested. In this paper, we show that studying the precise cost of algorithms instead of their bounded complexity leads to faster solutions. We introduce cost functions that link ordering properties with the running time of a given algorithm. We prove that their minimization is NP-hard and propose heuristics to obtain new orderings with different trade-offs between cost reduction and ordering time. Using datasets with up to two billion edges, we show that our heuristics accelerate the listing of triangles by an average of 38% when the ordering is already given as an input, and 16% when the ordering time is included.
Fichier principal
Vignette du fichier
2203.04774.pdf (1.03 Mo) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04270044 , version 1 (03-11-2023)

Identifiants

Citer

Fabrice Lécuyer, Louis Jachiet, Clémence Magnien, Lionel Tabourier. Tailored vertex ordering for faster triangle listing in large graphs. SIAM Symposium on Algorithm Engineering and Experiments (ALENEX), Jan 2023, Florence, Italy. ⟨10.1137/1.9781611977561.ch7⟩. ⟨hal-04270044⟩
118 Consultations
90 Téléchargements

Altmetric

Partager

More