Template:EvoLudoLab:RSP: Difference between revisions

From EvoLudo
Created page with "__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 Inter..."
 
No edit summary
 
(7 intermediate revisions by the same user 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:RSP:{{{type|Regular}}}}}
{{EvoLudoLab:RSP:{{{type|Regular}}}}}
{{Legend:Gradient|label=Payoff code|min=Low|max=High}}
{{Legend:Gradient|label=Payoffs|min=Low|max=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.


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


Line 14: Line 12:
{{{doc}}}
{{{doc}}}


{| id="dataview"
|
|
===Data views===
===Data views===
{| class="dataview"
|-
|-
!
!
[[EvoLudo:Dataviews#Strategy - Population|Strategy - Population]]
[[Data Views#Strategy - Population|Strategy - Population]]
| Snapshot of the spatial arrangement of strategies.
| Snapshot of the spatial arrangement of strategies.
|-
|-
!
!
[[EvoLudo:Dataviews#Strategy 3D - Population|Strategy 3D - Population]]
[[Data Views#Strategy 3D - Population|Strategy 3D - Population]]
| Snapshot of the spatial arrangement of strategies in 3D.
| Snapshot of the spatial arrangement of strategies in 3D.
|-
|-
!
!
[[EvoLudo:Dataviews#Strategy - Mean|Strategy - Mean]]
[[Data Views#Strategy - Mean|Strategy - Mean]]
| Time evolution of the strategy frequencies.
| Time evolution of the strategy frequencies.
|-
|-
!
!
[[EvoLudo:Dataviews#Strategy - Simplex S3|Strategy - Simplex <math>S_3</math>]]
[[Data Views#Strategy - Simplex S3|Strategy - Simplex \(S_3\)]]
| Trajectories of strategy frequencies shown in the simplex <math>S_3</math>. Double clicks in the interior of <math>S_3</math> set the initial frequencies of strategies.
| Trajectories of strategy frequencies shown in the simplex \(S_3\). Double clicks in the interior of \(S_3\) set the initial frequencies of strategies.
|-
|-
!
!
[[EvoLudo:Dataviews#Fitness - Population|Fitness - Population]]
[[Data Views#Fitness - Population|Fitness - Population]]
| Snapshot of the spatial distribution of payoffs.
| Snapshot of the spatial distribution of payoffs.
|-
|-
!
!
[[EvoLudo:Dataviews#Fitness 3D - Population|Fitness 3D - Population]]
[[Data Views#Fitness 3D - Population|Fitness 3D - Population]]
| Snapshot of the spatial distribution of payoffs in 3D.
| Snapshot of the spatial distribution of payoffs in 3D.
|-
|-
!
!
[[EvoLudo:Dataviews#Fitness - Mean|Fitness - Mean]]
[[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]]
| Payoff distribution of each strategy in population.
| Payoff distribution of each strategy in population.
|-
|-
!
!
[[EvoLudo:Dataviews#Degree - Histogram|Degree - Histogram]]
[[Data Views#Degree - Histogram|Degree - Histogram]]
| Degree distribution in structured populations.
| Degree distribution in structured populations.
|-
|-
!
!
[[EvoLudo:Dataviews#Console Log|Console Log]]
[[Data Views#Console Log|Console Log]]
| Displays messages, warnings and errors reported by the simulation engine plus information on the applet/application.
| Displays messages, warnings and errors reported by the simulation engine plus information on the applet/application.
|}
|}
Line 62: Line 59:


== Game parameters ==
== 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 [[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 rock-scissors-paper 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.


;Payoffs:
; <tt>--paymatrix <rr,rs,rp;sr,ss,sp;pr,ps,pp></tt>:
:general <math>3\times 3</math> payoff matrix for the three strategic types <math>R, S, P</math>. The rock-paper-scissors game requires cyclic dominance between the three types..
: general \(3\times 3\) payoff matrix for the three strategic types \(R, S, P\).
;Init Rock, Scissors, Paper:
; <tt>--init <r,s,p></tt>:
:initial frequencies of rock, paper, and scissors types. If they do not add up to 100%, the values will be scaled accordingly.
: initial frequencies of \(R, S, P\), respectively. Frequencies that do not add up to 100% are scaled accordingly.
{{cloinittype}}




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

Latest revision as of 15:42, 13 October 2023

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.

{{{title}}}

{{{doc}}}

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.