22
Agent-Based Modelling Piper Jackson PhD Candidate Software Technology Lab School of Computing Science Simon Fraser University

Agent-Based Modelling

  • Upload
    lixue

  • View
    40

  • Download
    0

Embed Size (px)

DESCRIPTION

Agent-Based Modelling. Piper Jackson PhD Candidate Software Technology Lab School of Computing Science Simon Fraser University. History. Von Neumann machines: Self-reproducing Cellular Automata Object oriented programming (OOP ). Example: Boids. Simple agents 3 rules for movement - PowerPoint PPT Presentation

Citation preview

Page 1: Agent-Based Modelling

Agent-Based Modelling

Piper JacksonPhD CandidateSoftware Technology LabSchool of Computing ScienceSimon Fraser University

Page 2: Agent-Based Modelling

• Von Neumann machines:– Self-reproducing– Cellular Automata

• Object oriented programming (OOP)

History

Page 3: Agent-Based Modelling

Example: Boids• Simple agents– 3 rules for movement

• Complex, realistic movement– Small changes different behaviour

http://cs.gmu.edu/~eclab/projects/mason/

1. Separation2. Alignment3. Cohesion

Page 4: Agent-Based Modelling

Agents

• Interact with others and/or environs• Intelligent and purposeful• Goal driven and decision making• Bounded rationality

Page 5: Agent-Based Modelling

Agents• Features:– Autonomy– Social Ability– Reactivity– Proactivity

• Characteristics:– Perception– Performance• Motion• Communication• Action

–Memory– Policy

N. Gilbert (2008) Agent-Based Models

Page 6: Agent-Based Modelling

Characteristics

Complex Emergent

Chaotic Dynamic Interactive

Page 7: Agent-Based Modelling

Benefits

• Isolating prime mechanics• Interaction of micro & macro• What if? scenarios• Finding equlibria• Clarity & Transparency

Page 8: Agent-Based Modelling

Ontological Correspondence• Entities organized in an easily

comprehensible fashion• Conceptual model validation– Embedded in theory

• Communication & Visualization• Reproducibility

Page 9: Agent-Based Modelling

Drawbacks

• Analysis– Not a replacement for analytical methods

• Operational Validation–Many assumptions– Improbable or unmeasurable IRL

• Difficult for prediction

Page 10: Agent-Based Modelling

Example: Sugarscape

• Mobile agents on a grid• Collecting & metabolizing sugar• Sugar: metaphor for any resource– Evolution, marital status, inheritance

http://sugarscape.sourceforge.net/

Page 11: Agent-Based Modelling

Example: Mastermind

Page 12: Agent-Based Modelling

Tasks & Requirements

• Identify phenomena– Agents, events, factors

• Formalize domain concepts– Formal methods, equations

• Simplify!– Reduce, group, isolate

Page 13: Agent-Based Modelling

Abstract State Machines

• First order structures & state machines

• ASM Thesis• Ground model• Refinement

Page 14: Agent-Based Modelling

Control State Diagrams

Page 15: Agent-Based Modelling

Agent Specifics

• Scenario parameters• Variables• Functions: what an agent can do• Model of intelligence• Logic

Page 16: Agent-Based Modelling

Models of Intelligence

• Reactive• Beliefs, Desires & Intentions• OODA Orient

Decide

Act

Observe

Page 17: Agent-Based Modelling

Implementing Logic

• Conditionals– state machine

• Fuzzy• Deterministic/Non-Deterministic

Page 18: Agent-Based Modelling

Programming• Agent-Based simulation software:– Repast– MASON

• Object orientedprogramming– Java, Python, C#

Page 19: Agent-Based Modelling

Iterative Experimentation

Design

Computation

Results

Interpretation

Page 20: Agent-Based Modelling

From R. Sargent(2010) Verification And Validation Of Simulation Models

Page 21: Agent-Based Modelling

Hybrid Models

• Geographical CA/ABM Hybrid– Y. Xie, M. Batty, and K. Zhao (2007) “Simulating Emergent

Urban Form Using Agent-Based Modeling: Desakota in the Suzhou-Wuxian Region in China”

– 2 kinds of agents: developers, townships• Active at different scales

– Cellular landscape: suitability variable

Page 22: Agent-Based Modelling

22

CoreASM

• Abstract State Machine paradigm• Executable– Validation by testing

• Open source• Interaction with Java