AOT: Pushing the Efficiency Boundary of Main-memory Triangle Listing

06/20/2020
by   Michael Yu, et al.
0

Triangle listing is an important topic significant in many practical applications. Efficient algorithms exist for the task of triangle listing. Recent algorithms leverage an orientation framework, which can be thought of as mapping an undirected graph to a directed acylic graph, namely oriented graph, with respect to any global vertex order. In this paper, we propose an adaptive orientation technique that satisfies the orientation technique but refines it by traversing carefully based on the out-degree of the vertices in the oriented graph during the computation of triangles. Based on this adaptive orientation technique, we design a new algorithm, namely aot, to enhance the edge-iterator listing paradigm. We also make improvements to the performance of aot by exploiting the local order within the adjacent list of the vertices. We show that aot is the first work which can achieve best performance in terms of both practical performance and theoretical time complexity. Our comprehensive experiments over 16 real-life large graphs show a superior performance of our algorithm when compared against the state-of-the-art, especially for massive graphs with billions of edges. Theoretically, we show that our proposed algorithm has a time complexity of Θ(∑_⟨ u,v ⟩∈E⃗min{ deg^+(u),deg^+(v)})), where E⃗ and deg^+(x) denote the set of directed edges in an oriented graph and the out-degree of vertex x respectively. As to our best knowledge, this is the best time complexity among in-memory triangle listing algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/18/2017

A recognition algorithm for simple-triangle graphs

A simple-triangle graph is the intersection graph of triangles that are ...
research
07/15/2019

Proper Orientation Number of Triangle-free Bridgeless Outerplanar Graphs

An orientation of G is a digraph obtained from G by replacing each edge ...
research
12/13/2018

Oriented Colourings of Graphs with Maximum Degree Three and Four

We show that any orientation of a graph with maximum degree three has an...
research
05/17/2020

A Practical Algorithm for the Computation of the Genus

We describe a practical algorithm to compute the (oriented) genus of a g...
research
03/12/2020

Orientations without forbidden patterns on three vertices

Given a set of oriented graphs F, a graph G is an F-graph if it admits a...
research
01/17/2023

Engineering Fully Dynamic Δ-Orientation Algorithms

A (fully) dynamic graph algorithm is a data structure that supports edge...
research
04/08/2020

DegreeSketch: Distributed Cardinality Sketches on Massive Graphs with Applications

We present DegreeSketch, a semi-streaming distributed sketch data struct...

Please sign up or login with your details

Forgot password? Click here to reset