[Networkit] new feature: network properties overview now shows degree power law info

Christian Staudt christian.staudt at kit.edu
Wed Feb 5 10:40:45 CET 2014


See an example:

In [6]: properties.overview(readGraph("input/PGPgiantcompo.graph"))

Basic Properties
-------------------------  --------------
nodes (n)                  10680
edges (m)                  24316
min. degree                1
max. degree                205
avg. degree                4.553558
degree power law fit?      True, 2.101144
degree power law exponent  1.6997
isolated nodes             0
self-loops                 0
density                    0.000426
-------------------------  --------------


In [5]: properties.overview(generators.ErdosRenyiGenerator(1000, 0.1).generate())


Basic Properties
-------------------------  ----------------
nodes (n)                  1000
edges (m)                  50010
min. degree                74
max. degree                134
avg. degree                100.020000
degree power law fit?      False, -1.385753
degree power law exponent 
isolated nodes             0
self-loops                 0
density                    0.100120
-------------------------  ————————





Christian Staudt

christian.staudt at kit.edu
http://parco.iti.uka.de/staudt/index-en.shtml
Institut of Theoretical Computer Science - Parallel Computing Group 
Building 50.34 Room 249
Karlsruhe Institute of Technology (KIT)




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20140205/5a066939/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 495 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <https://lists.ira.uni-karlsruhe.de/mailman/private/networkit/attachments/20140205/5a066939/attachment.sig>


More information about the NetworKit mailing list