Skip to content

Evolution of a population playing the continuous snowdrift game

Notifications You must be signed in to change notification settings

pentathis/Snowdrift-evolution

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Evolution in Continuous Snowdrift

The game of continuous snowdrift (aka Hawk-Dove, Chicken) can be visualised as two individuals walking on a road where a heap of snow has accumulated due to a blizzard. To cross over to the other side, they have to put some amount of effort in removing the snow. The payoff received by an individual putting effort $x \in [0,1]$ against an individual putting effort $y$ is given by $P(x,y) = B(x+y) - C(x)$, where $B$ and $C$ are benefit and cost functions respectively. Your benefit depends on how much efffort you put and how much effort the other individual puts, but the cost to you depends only on the effort you put.

image

The code in this repository reproduces the results obtained Doebeli et al. (2004). The code analyses the evolution of a population where individuals play this game, and their reproductive success stochastically depends on the payoff they receive. The details on how to obtain the below figures are given in the code iteself.

Five kinds of dynamics were obtained by Doebeli et al. (2004) for quadratic cost and benefit functions, which are reproduced here:

  1. Evolutionary branching: The population branches into two clusters evolving two the two extremes of $0$ and $1$.

Fig 1 A

  1. Evolutionarily stable strategy: A strategy between the extremes is stable and cannot be invaded by mutants.

Fig 1 B

  1. Evolutionary repellor: The population can evolve to either of the extremes, depending upon the initial conditions.

Fig 1 C

  1. Unidirectional dynmics (defection): The population evolves to a strategy of $0$, i.e., full defection.

Fig 1 D

  1. Unidirectional dynmics (cooperation): The population evolves to a strategy of $1$, i.e., full cooperation.

Fig 1 E

Richer dynamics are observed for more complicated cost and benefit functions.

Fig 3 AFig 3 B

Reference:

Doebeli, M., Hauert, C., & Killingback, T. (2004). The evolutionary origin of cooperators and defectors. Science, 306(5697), 859-862.

About

Evolution of a population playing the continuous snowdrift game

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages