EvoLudoLab: Rock-Paper-Scissors - SDE: Difference between revisions

From EvoLudo
No edit summary
No edit summary
 
Line 1: Line 1:
{{EvoLudoLab:RSP|
{{EvoLudoLab:RSP|
options="--module RSP --model SDE --run --delay 50 --view Strategies_-_Simplex_S3 --timestep 0.1 --popsize 1000 --playerupdate imitate --inittype frequencies 50,33.3,16.7 --dt 0.01 --paymatrix 0,0.7,-1;-1,0,3.4;0.8,-1,0 --points 0.5,0.333,0.166"|
options="--module RSP --model SDE --run --delay 50 --view Strategies_-_Simplex_S3 --timestep 0.1 --popsize 1000 --playerupdate imitate --init frequencies 50,33.3,16.7 --dt 0.01 --paymatrix 0,0.7,-1;-1,0,3.4;0.8,-1,0 --points 0.5,0.333,0.166"|
title=Stochastic dynamics - Langevin equation|
title=Stochastic dynamics - Langevin equation|
doc=The interior fixed point \(\hat x\) is a stable focus of the replicator dynamics. Demographic stochasticity arises from the finite population size of \(N=1000\). In the absence of mutations, the boundaries remain absorbing and even though the interior fixed point is attracting, stochastic fluctuations nevertheless eventually drive the population to the absorbing boundaries.
doc=The interior fixed point \(\hat x\) is a stable focus of the replicator dynamics. Demographic stochasticity arises from the finite population size of \(N=1000\). In the absence of mutations, the boundaries remain absorbing and even though the interior fixed point is attracting, stochastic fluctuations nevertheless eventually drive the population to the absorbing boundaries.


The parameters are \(s = 1.4\) using numerical integration (\(dt=0.01\)) of the Langevin equation derived from a continuums approximation of the stochastic dynamics in finite populations. The starting point is close to the attractor \(\hat x=(1/2, 1/3, 1/6)\).}}
The parameters are \(s = 1.4\) using numerical integration (\(dt=0.01\)) of the Langevin equation derived from a continuums approximation of the stochastic dynamics in finite populations. The starting point is close to the attractor \(\hat x=(1/2, 1/3, 1/6)\).}}

Latest revision as of 13:38, 12 August 2024

Color code: Rock Scissors Paper
New rock New scissors New paper
Payoffs:
Low High

Note: The gradient of the payoff scale is augmented by pale shades of the strategy colours to mark payoffs that are achieved in homogeneous populations of the corresponding type.

Stochastic dynamics - Langevin equation

The interior fixed point \(\hat x\) is a stable focus of the replicator dynamics. Demographic stochasticity arises from the finite population size of \(N=1000\). In the absence of mutations, the boundaries remain absorbing and even though the interior fixed point is attracting, stochastic fluctuations nevertheless eventually drive the population to the absorbing boundaries.

The parameters are \(s = 1.4\) using numerical integration (\(dt=0.01\)) of the Langevin equation derived from a continuums approximation of the stochastic dynamics in finite populations. The starting point is close to the attractor \(\hat x=(1/2, 1/3, 1/6)\).

Data views

Strategy - Population

Snapshot of the spatial arrangement of strategies.

Strategy 3D - Population

Snapshot of the spatial arrangement of strategies in 3D.

Strategy - Mean

Time evolution of the strategy frequencies.

Strategy - Simplex \(S_3\)

Trajectories of strategy frequencies shown in the simplex \(S_3\). Double clicks in the interior of \(S_3\) set the initial frequencies of strategies.

Fitness - Population

Snapshot of the spatial distribution of payoffs.

Fitness 3D - Population

Snapshot of the spatial distribution of payoffs in 3D.

Fitness - Mean

Time evolution of average population payoff bounded by the minimum and maximum individual payoff.

Fitness - Histogram

Payoff distribution of each strategy in population.

Degree - Histogram

Degree distribution in structured populations.

Console Log

Displays messages, warnings and errors reported by the simulation engine plus information on the applet/application.

Game parameters

The list below describes only the parameters related to the rock-scissors-paper game and the population dynamics. Follow the link for a complete list and descriptions of all other parameters such as spatial arrangements or update rules on the player and population level.

--paymatrix <rr,rs,rp;sr,ss,sp;pr,ps,pp>
general \(3\times 3\) payoff matrix for the three strategic types \(R, S, P\).
--init <r,s,p>
initial frequencies of \(R, S, P\), respectively. Frequencies that do not add up to 100% are scaled accordingly.
--inittype <type>
type of initial configuration:
frequency <f0>,<f1>...
random distribution with given trait frequencies, f0, f1,.... Note, only available for frequency based modules and models.
density <d0>,<d1>...
initial trait densities <d1,...,dn>. Note, only available for density based modules and models.
uniform
uniform random distribution, equal frequencies of all traits.
monomorphic <t>[,<v>]
monomorphic initialization with trait t. Note, for modules with variable population densities, the optional parameter v indicates the initial frequency of vacant sites. If omitted the monomorphic trait is initialized at its (estimated) carrying capacity.
mutant <m>,<r>[,<v>]
single mutant with trait m in homogeneous resident population of type r. The mutant is placed in a location selected uniformly at random (mutants arising through cosmic rays). Note, for modules with variable population densities, the optional parameter v indicates the initial frequency of vacant sites. If omitted the resident trait is initialized at its (estimated) carrying capacity.
temperature <m>,<r>[,<v>]
single mutant with trait m in homogeneous resident population of type r. The mutant is placed in a location selected proportional to the in-degree of nodes (temperature initialization, mutants arising through errors in reproduction). Note, for modules with variable population densities, the optional parameter v indicates the initial frequency of vacant sites. If omitted the resident trait is initialized at its (estimated) carrying capacity.
stripes
stripes of traits. Note, only available for 2D lattices.
kaleidoscopes
configurations that produce evolutionary kaleidoscopes for deterministic updates (players and population). Note, only available for some modules.

Note, for modules that admit multiple species, the initialization types for each species can be specified as an array separated by ;. With more species than initialization types, they are assigned in a cyclical manner.