Template:EvoLudoLab:EcoPGG: Difference between revisions

From EvoLudo
No edit summary
No edit summary
 
(5 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 [[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.
{{EvoLudoLab:EcoPGG:{{{type|Regular}}}}}
{{EvoLudoLab:EcoPGG:{{{type|Regular}}}}}
{{Legend:Gradient|label=Payoff code|min=Low|max=High}}
{{Legend:Gradient|label=Payoff code|min=Low|max=High}}


<div id="evoludolab">
<div id="evoludolab">
{{#tag:evoludolab||code="org.evoludo.simulator.lab.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.
|-
|-
!
!
[[EvoLudo: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.
|-
|-
!
!
[[EvoLudo:Dataviews#Mean strategy|Mean strategy]]
[[Data Views#Strategies - Mean|Strategies - Mean]]
| Time evolution of the strategy frequencies.
| Time evolution of the strategy frequencies.
|-
|-
!
!
[[EvoLudo:Dataviews#Simplex S3|Simplex \(S_3\)]]
[[Data Views#Simplex S3|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).
| 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).
|-
|-
!
!
[[EvoLudo: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 (\(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
| 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
|-
|-
!
!
[[EvoLudo: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.
|-
|-
!
!
[[EvoLudo: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.
|-
|-
!
!
[[EvoLudo: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 [[EvoLudo: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 \(r\) of public good.
:multiplication factor \(r\) of public good.
;Cost:
;<tt>--cost <c></tt>:
:cost of cooperation \(c\) (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:Interactive Lab]]
[[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.