Template:EvoLudoLab:EcoPGG: Difference between revisions

From EvoLudo
No edit summary
 
No edit summary
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
 
{{EvoLudoLab:EcoPGG:{{{type|Regular}}}}}
Along the bottom of the applet there are several buttons to control the execution and the speed of the simulations - for details see the [[Virtuallabs:Graphical User Interface|''VirtualLabs'' GUI documentation]]. Of particular importance are the [[Virtuallabs:Parameters|parameters]] button and the [[Virtuallabs: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.
 
{{VirtualLab:EcoPGG:{{{type|Regular}}}}}
{{Legend:Gradient|label=Payoff code|min=Low|max=High}}
{{Legend:Gradient|label=Payoff code|min=Low|max=High}}


<div id="virtuallab">
<div id="evoludolab">
{{#tag:virtuallab||code="chh.virtuallabs.EcoPublicGoodsLab.class"|codebase="applets"|height="572"|width="480"|archive="EcoPGG.jar"|options={{{options}}}}}
{{#tag:evoludolab||width="520"|height="620"|options={{{options}}}}}
</div>
</div>


Line 14: Line 11:
{{{doc}}}
{{{doc}}}


{| id="dataview"
|
|
===Data views===
===Data views===
{| class="dataview"
!
[[Data Views#Strategies - Structure|Strategies - Structure]]
| Snapshot of the spatial arrangement of strategies.
|-
|-
!
!
[[VirtualLabs: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.
|-
|-
!
!
[[VirtualLabs:Dataviews#Mean strategy|Mean strategy]]
[[Data Views#Strategies - Mean|Strategies - Mean]]
| Time evolution of the strategy frequencies.
| Time evolution of the strategy frequencies.
|-
|-
!
!
[[VirtualLabs:Dataviews#Simplex S3|Simplex <math>S_3</math>]]
[[Data Views#Simplex S3|Simplex \(S_3\)]]
| Strategy frequencies plotted in the simplex <math>S_3</math>. If no calculation is running, mouse clicks set the initial frequencies of strategies and stops the calculations otherwise (for the ODE solver it switches to backwards integration).
| Strategy frequencies plotted in the simplex \(S_3\). If no calculation is running, mouse clicks set the initial frequencies of strategies and stops the calculations otherwise (for the ODE solver it switches to backwards integration).
|-
|-
!
!
[[VirtualLabs:Dataviews#Phase plane 2D|Phase plane 2D]]
[[Data Views#Phase plane 2D|Phase plane 2D]]
| Frequencies plotted in the phase plane spanned by the population density (<math>u + v = 1 - w</math>) and the relative frequency of cooperators (<math>f = u / (u + v)</math>). Again, mouse clicks set the initial frequencies of strategies, stop the simulations or switch to backward integration
| Frequencies plotted in the phase plane spanned by the population density (\(u + v = 1 - w\)) and the relative frequency of cooperators (\(f = u / (u + v)\)). Again, mouse clicks set the initial frequencies of strategies, stop the simulations or switch to backward integration
|-
|-
!
!
[[VirtualLabs: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.
|-
|-
!
!
[[VirtualLabs:Dataviews#Mean fitness|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.
|-
|-
!
!
[[VirtualLabs:Dataviews#Fitness histogram|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.
|}
|}
{{-}}
{{-}}


== Game parameters ==
== Game parameters ==
The list below describes only the parameters related to the public goods game and the population dynamics. Follow the link for a complete list and descriptions of all [[Virtuallabs:Parameters|other parameters]] such as spatial arrangements or update rules on the player and population level.
The list below describes only the parameters related to the public goods game and the population dynamics. Follow the link for a complete list and descriptions of all [[Parameters|other parameters]] such as spatial arrangements or update rules on the player and population level.


;Interest:
;<tt>--interest <r></tt>:
:multiplication factor <math>r</math> of public good.
:multiplication factor \(r\) of public good.
;Cost:
;<tt>--cost <c></tt>:
:cost of cooperation <math>c</math> (investment into common pool).
:cost of cooperation \(c\) (investment into common pool).
;Lone cooperator's payoff:
;<tt>--lonecooperator <l></tt>:
:payoff for a cooperator if no one else joins the public goods interaction.
:payoff for a cooperator if no one else joins the public goods interaction.
;Lone defector's payoff:
;<tt>--lonedefector <l></tt>:
:payoff for a defector if no one else joins the public goods interaction.
:payoff for a defector if no one else joins the public goods interaction.
;Base birthrate:
;<tt>--basefit <<wbr>b></tt>
:baseline reproductive rate of all individuals. The effective birthrate is affected by the individual's performance in the public goods game and additionally depends on the availability of empty space.
:baseline reproductive rate of all individuals. The effective birthrate is affected by the individual's performance in the public goods game and additionally depends on the availability of empty space.
;Deathrate:
;<tt>--deathrate <d></tt>:
:constant death rate of all individuals.
:constant death rate of all individuals.
;Init Coop, init defect, init empty:
; <tt>--init <d,c,e></tt>:
:initial densities of cooperators, defectors and empty space. If they do not add up to 100%, the values will be scaled accordingly.
: initial frequencies of defectors <tt>d</tt>, cooperators <tt>c</tt> and vacant space <tt>e</tt>. Frequencies that do not add up to 100% are scaled accordingly.
{{cloinittype}}




[[Category:VirtualLab]]
[[Category:Interactive Lab]]

Latest revision as of 11:36, 13 October 2023

Color code: Cooperators Defectors
Payoff code:
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.

Simplex \(S_3\)

Strategy frequencies plotted in the simplex \(S_3\). If no calculation is running, mouse clicks set the initial frequencies of strategies and stops the calculations otherwise (for the ODE solver it switches to backwards integration).

Phase plane 2D

Frequencies plotted in the phase plane spanned by the population density (\(u + v = 1 - w\)) and the relative frequency of cooperators (\(f = u / (u + v)\)). Again, mouse clicks set the initial frequencies of strategies, stop the simulations or switch to backward integration

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.

Game parameters

The list below describes only the parameters related to the public goods 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.

--interest <r>
multiplication factor \(r\) of public good.
--cost <c>
cost of cooperation \(c\) (investment into common pool).
--lonecooperator <l>
payoff for a cooperator if no one else joins the public goods interaction.
--lonedefector <l>
payoff for a defector if no one else joins the public goods interaction.
--basefit <b>
baseline reproductive rate of all individuals. The effective birthrate is affected by the individual's performance in the public goods game and additionally depends on the availability of empty space.
--deathrate <d>
constant death rate of all individuals.
--init <d,c,e>
initial frequencies of defectors d, cooperators c and vacant space e. 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.