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.

366 CHAPTER 16. DYNAMICAL NETWORKS I: MODELINGHere β is <strong>the</strong> rate <strong>of</strong> adaptive edge weight change, <strong>and</strong> γ is a parameter that determineshow in<strong>to</strong>lerant, or “picky,” each node is regarding cultural difference. Forexample, if γ = 0, w ij always converges <strong>and</strong> stays at 1. But if γ is large (typicallymuch larger than 1), <strong>the</strong> two nodes need <strong>to</strong> have very similar cultural states in order<strong>to</strong> maintain an edge between <strong>the</strong>m, or o<strong>the</strong>rwise <strong>the</strong> edge weight decreases. Theinclusion <strong>of</strong> w ij (1−w ij ) is <strong>to</strong> confine <strong>the</strong> weight values <strong>to</strong> <strong>the</strong> range [0, 1] dynamically.So, <strong>to</strong> simulate this model, we need a network made <strong>of</strong> two distinct groups. And this is<strong>the</strong> perfect moment <strong>to</strong> disclose a little more secrets about our favorite Karate Club graph(unless you have found it yourself already)! See <strong>the</strong> node attribute <strong>of</strong> <strong>the</strong> Karate Clubgraph, <strong>and</strong> you will find <strong>the</strong> following:Code 16.16:>>> nx.karate_club_graph().node{0: {’club’: ’Mr. Hi’}, 1: {’club’: ’Mr. Hi’}, 2: {’club’: ’Mr. Hi’},3: {’club’: ’Mr. Hi’}, 4: {’club’: ’Mr. Hi’}, 5: {’club’: ’Mr. Hi’},6: {’club’: ’Mr. Hi’}, 7: {’club’: ’Mr. Hi’}, 8: {’club’: ’Mr. Hi’},9: {’club’: ’Officer’}, 10: {’club’: ’Mr. Hi’}, 11: {’club’: ’Mr. Hi’},12: {’club’: ’Mr. Hi’}, 13: {’club’: ’Mr. Hi’}, 14: {’club’: ’Officer’},15: {’club’: ’Officer’}, 16: {’club’: ’Mr. Hi’}, 17: {’club’: ’Mr. Hi’},18: {’club’: ’Officer’}, 19: {’club’: ’Mr. Hi’}, 20: {’club’: ’Officer’},21: {’club’: ’Mr. Hi’}, 22: {’club’: ’Officer’}, 23: {’club’: ’Officer’},24: {’club’: ’Officer’}, 25: {’club’: ’Officer’}, 26: {’club’: ’Officer’},27: {’club’: ’Officer’}, 28: {’club’: ’Officer’}, 29: {’club’: ’Officer’},30: {’club’: ’Officer’}, 31: {’club’: ’Officer’}, 32: {’club’: ’Officer’},33: {’club’: ’Officer’}}Each node has an additional property, called ’club’, <strong>and</strong> its values are ei<strong>the</strong>r ’Mr. Hi’or ’Officer’! What are <strong>the</strong>se?The truth is, when Wayne Zachary studied this Karate Club, <strong>the</strong>re was an intensepolitical/ideological conflict between two factions. One was Mr. Hi, a part-time karateinstruc<strong>to</strong>r hired by <strong>the</strong> club, <strong>and</strong> his supporters, while <strong>the</strong> o<strong>the</strong>r was <strong>the</strong> club president(Officer) John A., o<strong>the</strong>r <strong>of</strong>ficers, <strong>and</strong> <strong>the</strong>ir followers. They were in sharp conflict over <strong>the</strong>price <strong>of</strong> karate lessons. Mr. Hi wanted <strong>to</strong> raise <strong>the</strong> price, while <strong>the</strong> club president wanted<strong>to</strong> keep <strong>the</strong> price as it was. The conflict was so intense that <strong>the</strong> club eventually fired Mr. Hi,resulting in a fission <strong>of</strong> <strong>the</strong> club in<strong>to</strong> two. The Karate Club graph is a snapshot <strong>of</strong> <strong>the</strong> clubmembers’ friendship network right before this fission, <strong>and</strong> <strong>the</strong>refore, each node comeswith an attribute showing whe<strong>the</strong>r he or she was in Mr. Hi’s camp or <strong>the</strong> Officer’s camp. If

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

Saved successfully!

Ooh no, something went wrong!