You are currently viewing a new version of our website. To view the old version click .
Algorithms
  • This is an early access version, the complete PDF, HTML, and XML versions will be available soon.
  • Article
  • Open Access

28 October 2025

Cover Edge-Based Novel Triangle Counting

,
,
,
,
,
,
,
,
and
1
Department of Data Science, New Jersey Institute of Technology (NJIT), Newark, NJ 07102, USA
2
Computer Science & Data Science, Rutgers University, New Brunswick, NJ 08901, USA
3
Computer Science, University of Pennsylvania, Philadelphia, PA 19104, USA
4
Machine Learning and Neural Computation, University of California, San Diego, CA 92093, USA
This article belongs to the Section Combinatorial Optimization, Graph, and Network Algorithms

Abstract

Counting and listing triangles in graphs is a fundamental task in network analysis, supporting applications such as community detection, clustering coefficient computation, k-truss decomposition, and triangle centrality. We introduce the cover-edge set, a novel concept that eliminates unnecessary edges during triangle enumeration, thereby improving efficiency. This compact cover-edge set is rapidly constructed using a breadth-first search (BFS) strategy. Using this concept, we develop both sequential and parallel triangle-counting algorithms and conduct comprehensive comparisons with state-of-the-art methods. We also design a benchmarking framework to evaluate our sequential and parallel algorithms in a systematic and reproducible manner. Extensive experiments on the latest Intel Xeon 8480+ processor reveal clear performance differences among algorithms, demonstrate the benefits of various optimization strategies, and show how graph characteristics, such as diameter and degree distribution, affect algorithm performance. Our source code is available on GitHub.

Article Metrics

Citations

Article Access Statistics

Multiple requests from the same IP address are counted as one view.