15.08.2015 Views

Introduction to the Modeling and Analysis of Complex Systems

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

introduction-to-the-modeling-and-analysis-of-complex-systems-sayama-pdf

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

374CHAPTER 17. DYNAMICAL NETWORKS II: ANALYSIS OF NETWORK TOPOLOGIESIn this code, we measure <strong>the</strong> size <strong>of</strong> <strong>the</strong> largest connected component in an Erdős-Rényigraph with connection probability p, while geometrically increasing p. The result shown inFig. 17.2 indicates that a percolation transition happened at around p = 10 −2 .10 2size <strong>of</strong> largest connected component10 110 010 -4 10 -3 10 -2 10 -1pFigure 17.2: Visual output <strong>of</strong> Code 17.4.Giant components are a special name given <strong>to</strong> <strong>the</strong> largest connected components thatappear above this percolation threshold (<strong>the</strong>y are seen in <strong>the</strong> third <strong>and</strong> fourth panels <strong>of</strong>Fig. 17.1), because <strong>the</strong>ir sizes are on <strong>the</strong> same order <strong>of</strong> magnitude as <strong>the</strong> size <strong>of</strong> <strong>the</strong>whole network. Ma<strong>the</strong>matically speaking, <strong>the</strong>y are defined as <strong>the</strong> connected componentswhose size s(n) has <strong>the</strong> following propertys(n)limn→∞ n= c > 0, (17.3)where n is <strong>the</strong> number <strong>of</strong> nodes. This limit would go <strong>to</strong> zero for all o<strong>the</strong>r non-giant components,so at macroscopic scales, we can only see giant components in large networks.Exercise 17.1 Revise Code 17.4 so that you generate multiple r<strong>and</strong>om graphsfor each p, <strong>and</strong> calculate <strong>the</strong> average size <strong>of</strong> <strong>the</strong> largest connected components.Then run <strong>the</strong> revised code for larger network sizes (say, 1,000) <strong>to</strong> obtain a smoo<strong>the</strong>rcurve.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!