Simulating Evolutionary Games: A Python-Based Introduction

作者: Alan G. Isaac

DOI:

关键词: ExtensibilityDilemmaGeneral-purpose programming languageProgramming languagePrisoner's dilemmaEvaluation strategyPython (programming language)Stochastic gameReadabilityComputer scienceArtificial intelligence

摘要: This paper is an introduction to agent-based simulation using the Python programming language. The core objective of enable students, teachers, and researchers immediately begin social-science projects in a general purpose language. This facilitated by design features language, which we very briefly discuss. The has tutorial component, in that it enablement-focused therefore strongly application-oriented. As our illustrative application, we choose classic model: the evolutionary iterated prisoner's dilemma. We show how simulate dilemma with code is simple readable yet flexible easily extensible. Despite simplicity code, it constitutes useful extended toolkit. We offer three examples this extensibility: we explore result topology matters for outcomes, we player type evolution affected payoff cardinality, and strategy evaluation procedures can affect persistence. Social science students instructors should find provides adequate background to immediately their own projects. Social researchers will additionally be able to compare simplicity, readability, extensibility code with comparable simulations other languages.

参考文章(36)
Benedikt Stefansson, Simulating Economic Agents in Swarm Springer, Boston, MA. pp. 3- 61 ,(2000) , 10.1007/978-1-4615-4641-2_1
Tamás Kozsik, László Gulyás, John B. Corliss, The Multi-Agent Modelling Language and the Model Design Interface. Journal of Artificial Societies and Social Simulation. ,vol. 2, pp. 1- 8 ,(1999)
Francis Fukuyama, Robert Axelrod, Robert Jervis, The Complexity of Cooperation: Agent-Based Models of Competition and Collaboration Foreign Affairs. ,vol. 77, pp. 142- ,(1998) , 10.2307/20048800
Manor Askenazi, Chris Langton, Rogert Burkhart, Nelson Minar, The Swarm Simulation System: A Toolkit for Building Multi-Agent Simulations Research Papers in Economics. ,(1996)
N.M. Gotts, J.G. Polhill, A.N.R. Law, Agent-Based Simulation in the Study of Social Dilemmas Artificial Intelligence Review. ,vol. 19, pp. 3- 92 ,(2003) , 10.1023/A:1022120928602
John Von Neumann, William Poundstone, Prisoner's Dilemma Doubleday. ,(1993)
Colm O'Riordan, A forgiving strategy for the Iterated Prisoner's Dilemma . Journal of Artificial Societies and Social Simulation. ,vol. 3, pp. 1- 3 ,(2000)
Miles T. Parker, What is Ascape and Why Should You Care Journal of Artificial Societies and Social Simulation. ,vol. 4, pp. 1- 5 ,(2001)