10.1016/j.physa.2011.02.011

Bibtex

On the efficiency of data representation on the modeling and characterization of complex networks

Carlos Antonio Ruggiero and Odemir Martinez Bruno and Gonzalo Travieso and Luciano da Fontoura Costa

PHYSICA A-STATISTICAL MECHANICS AND ITS APPLICATIONS, 390(11):2172-2180, 2011

Specific choices about how to represent complex networks can have a substantial impact on the execution time required for the respective construction and analysis of those structures. In this work we report a comparison of the effects of representing complex networks statically by adjacency matrices or dynamically by adjacency lists. Three theoretical models of complex networks are considered: two types of Erdos-Renyi as well as the Barabasi-Albert model. We investigated the effect of the different representations with respect to the construction and measurement of several topological properties (i.e. degree, clustering coefficient, shortest path length, and betweenness centrality). We found that different forms of representation generally have a substantial effect on the execution time, with the sparse representation frequently resulting in remarkably superior performance. (C) 2011 Elsevier B.V. All rights reserved.