Template:EvoLudoLab:CSD: Difference between revisions

From EvoLudo
mNo edit summary
No edit summary
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
Along the bottom of the applet there are several buttons to control the execution and the speed of the simulations - for details see the [[EvoLudo:Graphical User Interface|''EvoLudo'' GUI documentation]]. Of particular importance are the [[EvoLudo:Parameters|parameters]] button and the data [[EvoLudo:Dataviews|data views]] pop-up list along the top. The former opens a panel that allows to set and change various parameters concerning the game as well as the population structure, while the latter displays the simulation data in different ways.
{{Legend:MinMaxMean}}
{{Legend:MinMaxMean}}
{{Legend:Gradient|label=Strategy code|min=Defect|max=Cooperate}}
{{Legend:Gradient|label=Investments|min=Minimum|max=Maximum|gradient=red, yellow, lime, cyan, blue}}
{{Legend:Gradient|label=Payoff code|min=Low|max=High}}
{{Legend:Gradient|label=Payoffs & Densities|min=Low|max=High}}
''Note:'' The shades of grey of the payoff scale are augmented by blueish and reddish shades indicating payoffs for mutual cooperation and defection, respectively.


<div id="evoludolab">
<div id="evoludolab">
{{#tag:evoludolab||code="org.evoludo.labs.CSDLab.class"|codebase="applets"|height="572"|width="480"|archive="CSD.jar"|options={{{options}}}}}
{{#tag:evoludolab||options={{{options}}}}}
</div>
</div>


Line 15: Line 12:
{{{doc}}}
{{{doc}}}


{| id="dataview"
|
|
===Data views===
===Data views===
{| class="dataview"
!
[[Data Views#Strategies - Structure|Strategies - Structure]]
| Snapshot of the spatial arrangement of strategies.
|-
|-
!
!
[[EvoLudoLab:Dataviews#Structure - strategy|Structure - strategy]]
[[Data Views#Strategies - Structure 3D|Strategies - Structure 3D]]
| Snapshot of the spatial arrangement of strategies.
| 3D view of snapshot of the spatial arrangement of strategies.
|-
|-
!
!
[[EvoLudoLab:Dataviews#Mean strategy|Mean strategy]]
[[Data Views#Strategies - Mean|Strategies - Mean]]
| Time evolution of the strategy frequencies.
| Time evolution of the strategy frequencies.
|-
|-
!
!
[[EvoLudoLab:Dataviews#Strategy histogram|Strategy histogram]]
[[Data Views#Strategies - Histogram|Strategies - Histogram]]
| Snapshot of strategy distribution in population
| Snapshot of strategy distribution in population
|-
|-
!
!
[[EvoLudoLab:Dataviews#Strategy distribution|Strategy distribution]]
[[Data Views#Strategies - Distribution|Strategies - Distribution]]
| Time evolution of the strategy distribution
| Time evolution of the strategy distribution
|-
|-
!
!
[[EvoLudoLabs:Dataviews#Structure - fitness|Structure - fitness]]
[[Data Views#Fitness - Structure|Fitness - Structure]]
| Snapshot of the spatial distribution of payoffs.
| Snapshot of the spatial distribution of payoffs.
|-
|-
!
!
[[EvoLudoLabs:Dataviews#Mean fitness (continuous)|Mean fitness]]
[[Data Views#Fitness - Structure 3D|Fitness - Structure 3D]]
| 3D view of snapshot of the spatial distribution of payoffs.
|-
!
[[Data Views#Fitness - Mean|Fitness - Mean]]
| Time evolution of average population payoff bounded by the minimum and maximum individual payoff.
| Time evolution of average population payoff bounded by the minimum and maximum individual payoff.
|-
|-
!
!
[[EvoLudoLabs:Dataviews#Fitness histogram (continuous)|Fitness histogram]]
[[Data Views#Fitness - Histogram|Fitness - Histogram]]
| Snapshot of payoff distribution in population.
| Snapshot of payoff distribution in population.
|-
!
[[Data Views#Structure - Degree|Structure - Degree]]
| Degree distribution in structured populations.
|-
!
[[Data Views#Console log|Console log]]
| Message log from engine.
|}
|}
<br style="clear:both" />
{{-}}


== Game parameters ==
== Game parameters ==
The list below describes only the few parameters related to the continuous snowdrift game. Follow the link for a complete list and descriptions of all [[EvoLudo:Parameters|other parameters]] e.g. referring to update mechanisms of players and the population.
The list below describes only the few parameters related to the continuous snowdrift game. Follow the link for a complete list and descriptions of all [[Parameters|other parameters]] e.g. referring to update mechanisms of players and the population.


; Benefit/Cost Functions:
{{clobenefitfunc}}
: A variety of different combinations of cost and benefit functions can be selected.
{{clocostfunc}}
; Benefit <math>b_0,\ b_1</math>
; <tt>--init <m[,s]></tt>
: Two parameters for the benefit function. Note that not all functions require both.
: Initial configuration with mean trait <tt>m</tt> and standard deviation <tt>s</tt> (or mutant trait, see <tt>--inittype</tt>).
; Cost <math>c_0,\ c_1</math>
{{cloinitypecont}}
: Two parameters for the cost function. Note that not all functions require both.
; Mean invest:
: Mean trait value of initial population.
; Sdev invest:
: Standard deviation of initial population. If set to negative values, the population will be initialized with uniform distributed traits.
[[Category:Interactive Lab]]
[[Category:Interactive Lab]]

Latest revision as of 14:38, 13 October 2023

Color code: Maximum Minimum Mean
Investments:
Minimum Maximum
Payoffs & Densities:
Low High

{{{title}}}

{{{doc}}}

Data views

Strategies - Structure

Snapshot of the spatial arrangement of strategies.

Strategies - Structure 3D

3D view of snapshot of the spatial arrangement of strategies.

Strategies - Mean

Time evolution of the strategy frequencies.

Strategies - Histogram

Snapshot of strategy distribution in population

Strategies - Distribution

Time evolution of the strategy distribution

Fitness - Structure

Snapshot of the spatial distribution of payoffs.

Fitness - Structure 3D

3D view of snapshot of the spatial distribution of payoffs.

Fitness - Mean

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

Fitness - Histogram

Snapshot of payoff distribution in population.

Structure - Degree

Degree distribution in structured populations.

Console log

Message log from engine.

Game parameters

The list below describes only the few parameters related to the continuous snowdrift game. Follow the link for a complete list and descriptions of all other parameters e.g. referring to update mechanisms of players and the population.

--benefitfcn <f1[,f2[...]]>
benefit function for each trait:
0: \(B(x,y)=b_0\ y\)
benefits linear in opponents investment \(y\).
1: \(B(x,y)=b_0\ y+b_1\ y^2\)
benefits quadratic in opponents investment \(y\).
2: \(B(x,y)=b_0 \sqrt{y}\)
\(\sqrt{\ }\)-saturating benefits for opponents investment \(y\)
3: \(B(x,y)=b_0 \ln(b_1\ y+1)\)
\(\ln\)-saturating benefits for opponents investment \(y\)
4: \(B(x,y)=b_0 (1-\exp(-b_1\ y))\)
\(\exp\)-saturating benefits for opponents investment \(y\)
10: \(B(x,y)=b_0 (x+y)\)
benefits linear in joint investments \(x+y\).
11: \(B(x,y)=b_0 (x+y)+b_1\ (x+y)^2\)
benefits quadratic in joint investments \(x+y\) (default).
12: \(B(x,y)=b_0 \sqrt{x+y}\)
\(\sqrt{\ }\)-saturating benefits for joint investments \(x+y\)
13: \(B(x,y)=b_0 \ln(b_1\ (x+y)+1)\)
\(\ln\)-saturating benefits for joint investments \(x+y\)
14: \(B(x,y)=b_0 (1-\exp(-b_1\ (x+y)))\)
\(\exp\)-saturating benefits for joint investments \(x+y\)
20: \(B(x,y)=b_0 x+b_1\ y+b_2\ x\ y\)
benefits linear in investments \(x\) and \(y\) as well as cross term \(x\,y\).
30: \(B(x,y)=b_0 x\)
benefits linear in own investments \(x\).
31: \(B(x,y)=b_0 x+b_1\ x^2\)
benefits quadratic in own investments \(x\).
32: \(B(x,y)=b_0 x+b_1\ x^2+b_2\ x^3\)
benefits cubic in own investments \(x\).
--benefitparams <b0>[,<b1>[...[;<b'0>[,<b'1>[...]]]]]
parameters \(b_i\) for benefit function of each trait.
--costfcn <f1[,f2[...]]>
cost function for each trait:
0: \(C(x,y)=c_0\ x\)
costs linear in own investment \(x\).
1: \(C(x,y)=c_0\ x+c_1\ x^2\)
costs quadratic in own investment \(x\) (default).
2: \(C(x,y)=c_0 \sqrt{x}\)
\(\sqrt{\ }\)-saturating costs for own investment \(x\)
3: \(C(x,y)=c_0 \ln(c_1\ x+1)\)
\(\ln\)-saturating costs for own investment \(x\)
4: \(C(x,y)=c_0 (1-\exp(-c_1\ x))\)
\(\exp\)-saturating costs for own investment \(x\)
10: \(C(x,y)=c_0 (x+y)\)
costs linear in joint investments \(x+y\).
11: \(C(x,y)=c_0 (x+y)+c_1\ (x+y)^2\)
costs quadratic in joint investments \(x+y\).
12: \(C(x,y)=c_0 (x+y)+c_1\ (x+y)^2+c_2\ (x+y)^3\)
costs cubic in joint investments \(x+y\).
13: \(C(x,y)=c_0 (x+y)+c_1\ (x+y)^2+c_2\ (x+y)^3+c_3\ (x+y)^4\)
costs quartic in joint investments \(x+y\).
20: \(C(x,y)=c_0 x+c_1\ y+c_2\ x\ y\)
costs linear in investments \(x\) and \(y\) as well as cross term \(x\,y\).
--costparams <c0>[,<c1>[...[;<c'0>[,<c'1>[...]]]]]
parameters \(c_i\) for cost function of each trait.
--init <m[,s]>
Initial configuration with mean trait m and standard deviation s (or mutant trait, see --inittype).
--inittype <t>
type of initial configuration:
uniform
uniform trait distribution.
mono
monomorphic trait distribution for mean trait (see --init <m[,s]>).
gaussian
Gaussian trait distribution with mean m and standard deviation s (see --init <m,s>).
delta
mutant with trait s in monomorphic population with trait m (see --init <m,s>).