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.

440 CHAPTER 19. AGENT-BASED MODELSYou can also simulate <strong>the</strong> collective behavior <strong>of</strong> a population in which multipletypes <strong>of</strong> agents are mixed <strong>to</strong>ge<strong>the</strong>r. It is known that interactions among kineticallydistinct types <strong>of</strong> swarming agents can produce various nontrivial dynamic patterns[87].(a) (b) (c)Figure 19.3: Three essential behavioral rules <strong>of</strong> Boids. (a) Cohesion. (b) Alignment.(c) Separation.19.3 Agent-Environment InteractionOne important component you should consider adding <strong>to</strong> your ABM is <strong>the</strong> interactionbetween agents <strong>and</strong> <strong>the</strong>ir environment. The environmental state is still part <strong>of</strong> <strong>the</strong> system’soverall state, but it is defined over space, <strong>and</strong> not associated with specific agents.The environmental state dynamically changes ei<strong>the</strong>r spontaneously or by agents’ actions(or both). The examples discussed so far (Schelling’s segregation model, DLA, Boids)did not include such an environment, but many ABMs explicitly represent environmentsthat agents act on <strong>and</strong> interact with. The importance <strong>of</strong> agent-environment interaction iswell illustrated by <strong>the</strong> fact that NetLogo [13], a popular ABM platform, uses “turtles” <strong>and</strong>“patches” by default, <strong>to</strong> represent agents <strong>and</strong> <strong>the</strong> environment, respectively. We can do<strong>the</strong> same in Python.A good example <strong>of</strong> such agent-environment interaction is in <strong>the</strong> Keller-Segel slimemold aggregation model we discussed in Section 13.4, where slime mold cells behave asagents <strong>and</strong> interact with an environment made <strong>of</strong> cAMP molecules. The concentration <strong>of</strong>

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

Saved successfully!

Ooh no, something went wrong!