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.

356 CHAPTER 16. DYNAMICAL NETWORKS I: MODELINGdef pref_select(nds):global gr = uniform(0, sum(g.degree(i) for i in nds))x = 0for i in nds:x += g.degree(i)if r

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

Saved successfully!

Ooh no, something went wrong!