Computer Performance Engineering

Volume 5652 of the series Lecture Notes in Computer Science pp 131-148

Fast Generation of Scale Free Networks with Directed Arcs

  • Huqiu ZhangAffiliated withSchool of Computing Science, Newcastle University, Newcastle upon Tyne
  • , Aad van MoorselAffiliated withSchool of Computing Science, Newcastle University, Newcastle upon Tyne

* Final gross prices may vary according to local VAT.

Get Access


To evaluate peer-to-peer systems through discrete-event simulation, one needs to be able to generate sufficiently large networks of nodes that exhibit the desired properties, such as the scale-free nature of the connectivity graph. In applications such as the web of trust or analysis of hyperlink structures, the direction of the arcs between two nodes is relevant and one therefore generates directed graphs. In this paper we introduce a model to generate directed scale free graphs without multiple arcs between the same pair of nodes and loops. This model is based on existing models that allows multiple arcs and loops, but considerably more challenging to implement in an efficient manner. We therefore design and implement a set of algorithms and compare them with respect to CPU and memory use, in terms of both theoretical complexity analysis and experimental results. We will show through experiments that with the fastest algorithms networks with a million or more nodes can be generated in mere seconds.