Graphical User Interface: Difference between revisions
No edit summary |
No edit summary |
||
Line 7: | Line 7: | ||
This section provides an overview of the different elements of the graphical user interface for interacting with the ''VirtualLabs'' simulation engine. | This section provides an overview of the different elements of the graphical user interface for interacting with the ''VirtualLabs'' simulation engine. | ||
<center> | <center> | ||
<imagemap> | <imagemap> | ||
Image:GUI.png| | Image:GUI.png| | ||
rect 0 0 | rect 0 0 245 39 [[#  Elapsed time|Elapsed time]] | ||
rect 246 0 480 39 [[#  Select different views of the data|Select different views of the data]] | rect 246 0 480 39 [[#  Select different views of the data|Select different views of the data]] | ||
rect 0 40 480 472 [[#  View of the data|View of the data]] | rect 0 40 480 472 [[#  View of the data|View of the data]] | ||
rect 0 475 480 510 [[#  Speed of calculations|Speed of calculations: left - slow, right - fast]] | rect 0 475 480 510 [[#  Speed of calculations|Speed of calculations: left - slow, right - fast]] | ||
rect 0 511 121 547 [[#  | rect 0 511 121 547 [[#  Display parameter panel|Display parameter panel]] | ||
rect 122 511 241 547 [[#  | rect 122 511 241 547 [[#  Reset|Reset simulations]] | ||
rect 242 511 360 547 [[#  | rect 242 511 360 547 [[#  Start/Stop/Continue|Start/Stop/Continue simulations]] | ||
rect 361 511 480 547 [[#  | rect 361 511 480 547 [[#  Step|Display next state of system]] | ||
rect 0 548 480 572 [[#  Status messages|Summary of state of population and place to report status messages, warnings and errors of the simulation engine.]] | rect 0 548 480 572 [[#  Status messages|Summary of state of population and place to report status messages, warnings and errors of the simulation engine.]] | ||
desc none | desc none | ||
Line 31: | Line 28: | ||
Indicates the time elapsed since the start of the simulations or numerical calculations. For simulations, the time is measured in units of Monte-Carlo steps (MC steps). If the population size is <math>N</math>, then an MC step consists of <math>N</math> individual updates. For numerical the integration of ordinary differential equations (ODE), the time increment is automatically chosen by the integrator (Fifth-order Runge-Kutta method with adaptive step size). For numerical integration of partial differential equations (PDE), the [[Parameters/PDE#Time increment|time increment]] is an adjustable parameter. Similarly, the time between [[Parameters/Misc#Report frequency|subsequent reports]] of the state of the population can be customized. | Indicates the time elapsed since the start of the simulations or numerical calculations. For simulations, the time is measured in units of Monte-Carlo steps (MC steps). If the population size is <math>N</math>, then an MC step consists of <math>N</math> individual updates. For numerical the integration of ordinary differential equations (ODE), the time increment is automatically chosen by the integrator (Fifth-order Runge-Kutta method with adaptive step size). For numerical integration of partial differential equations (PDE), the [[Parameters/PDE#Time increment|time increment]] is an adjustable parameter. Similarly, the time between [[Parameters/Misc#Report frequency|subsequent reports]] of the state of the population can be customized. | ||
==[[Image:GUI.2 | ==[[Image:GUI.2.png|28px]]   Select different [[Data views|data views]]== | ||
For a better understanding of the progress of the simulations or numerical calculations, the current state of the population can be presented in a number of different ways. This is very valuable to generate a deeper intuitive understanding of the dynamics. The number and type of [[Data views|data views]] available depends on the type of model. | For a better understanding of the progress of the simulations or numerical calculations, the current state of the population can be presented in a number of different ways. This is very valuable to generate a deeper intuitive understanding of the dynamics. The number and type of [[Data views|data views]] available depends on the type of model. | ||
==[[Image:GUI. | ==[[Image:GUI.3.png|28px]]   '''View of the data'''== | ||
Here the different types of reports for the current state of the system are shown. This example depicts the state of a simulation run of the spatial Snowdrift game after 500 MC steps. Individuals are arranged on a rectangular <math>101\times101</math> lattice and interact only with their four nearest neighbors to the north, south, east and west. The different colors indicate the strategy of each individual - in the present case, these are cooperators and defectors: | Here the different types of reports for the current state of the system are shown. This example depicts the state of a simulation run of the spatial Snowdrift game after 500 MC steps. Individuals are arranged on a rectangular <math>101\times101</math> lattice and interact only with their four nearest neighbors to the north, south, east and west. The different colors indicate the strategy of each individual - in the present case, these are cooperators and defectors: | ||
{{Legend:StrategiesCD}} | {{Legend:StrategiesCD}} | ||
Line 48: | Line 42: | ||
Further details on the presentation of the data, available manipulations using the mouse and additional information accessible through tool tips triggered by the mouse pointer are provided together with the detailed description of the different [[data views]]. | Further details on the presentation of the data, available manipulations using the mouse and additional information accessible through tool tips triggered by the mouse pointer are provided together with the detailed description of the different [[data views]]. | ||
==[[Image:GUI. | ==[[Image:GUI.4.png|28px]]   '''Speed of calculations'''== | ||
For running simulations or numerical calculations the slider sets the delay between subsequent updates. Delays are large on the left and minimal on the right. On the left, simulations or numerical calculations are suspended between updates for approximately 2 seconds. On far right they are running without delay and the time between updates depends on various factors including the [[Parameters/Misc|report frequency]], the [[Parameters/Misc|population size]] and the CPU power of the computer. | For running simulations or numerical calculations the slider sets the delay between subsequent updates. Delays are large on the left and minimal on the right. On the left, simulations or numerical calculations are suspended between updates for approximately 2 seconds. On far right they are running without delay and the time between updates depends on various factors including the [[Parameters/Misc|report frequency]], the [[Parameters/Misc|population size]] and the CPU power of the computer. | ||
==[[Image:GUI.5.png|28px]]   Display [[Parameters|parameter panel]]== | |||
Numerous [[Parameters|parameters]] are adjustable to fine tune the simulations and numerical calculations and to explore the often rich dynamical features of evolutionary systems. Please refer to the detailed description of the different parameters. | |||
==[[Image:GUI.6.png|28px]]   '''Reset'''== | ==[[Image:GUI.6.png|28px]]   '''Reset'''== | ||
Line 60: | Line 57: | ||
Displays the next state of the population. The step size depends on the [[Parameters/Misc#Report frequency|report frequency]] and possible on the [[Parameters/PDE#Time increment|time increment]] for PDE's. In addition, the required CPU time for one step depends on the population size <math>N</math>. | Displays the next state of the population. The step size depends on the [[Parameters/Misc#Report frequency|report frequency]] and possible on the [[Parameters/PDE#Time increment|time increment]] for PDE's. In addition, the required CPU time for one step depends on the population size <math>N</math>. | ||
==[[Image:GUI.9 | ==[[Image:GUI.9.png|28px]]   '''Status messages'''== | ||
In this area different kinds of information is displayed. Upon startup it shows the version of the graphical front end as well as of the engine. If the ''VirtualLabs'' engine encounters difficulties (e.g. incompatible parameter settings) then a warning is shown. More detailed information on the type of problem - and potential countermeasures - is available on the [[Data views#Console|console log]]. The standard display summarizes the current state of the population. For discrete strategies this is the average frequency of each strategic type (the value in brackets indicates the long term average since the start of the simulations). For continuous strategies it displays the minimum, mean and maximum value of the strategic trait in the population. | In this area different kinds of information is displayed. Upon startup it shows the version of the graphical front end as well as of the engine. If the ''VirtualLabs'' engine encounters difficulties (e.g. incompatible parameter settings) then a warning is shown. More detailed information on the type of problem - and potential countermeasures - is available on the [[Data views#Console|console log]]. The standard display summarizes the current state of the population. For discrete strategies this is the average frequency of each strategic type (the value in brackets indicates the long term average since the start of the simulations). For continuous strategies it displays the minimum, mean and maximum value of the strategic trait in the population. | ||
[[Category:Documentation]] | [[Category:Documentation]] | ||
[[Category:Christoph Hauert]] | [[Category:Christoph Hauert]] |
Revision as of 17:44, 7 August 2009
|
This section provides an overview of the different elements of the graphical user interface for interacting with the VirtualLabs simulation engine.
Different elements of the VirtualLabs interface.
Elapsed time
Indicates the time elapsed since the start of the simulations or numerical calculations. For simulations, the time is measured in units of Monte-Carlo steps (MC steps). If the population size is , then an MC step consists of individual updates. For numerical the integration of ordinary differential equations (ODE), the time increment is automatically chosen by the integrator (Fifth-order Runge-Kutta method with adaptive step size). For numerical integration of partial differential equations (PDE), the time increment is an adjustable parameter. Similarly, the time between subsequent reports of the state of the population can be customized.
Select different data views
For a better understanding of the progress of the simulations or numerical calculations, the current state of the population can be presented in a number of different ways. This is very valuable to generate a deeper intuitive understanding of the dynamics. The number and type of data views available depends on the type of model.
View of the data
Here the different types of reports for the current state of the system are shown. This example depicts the state of a simulation run of the spatial Snowdrift game after 500 MC steps. Individuals are arranged on a rectangular lattice and interact only with their four nearest neighbors to the north, south, east and west. The different colors indicate the strategy of each individual - in the present case, these are cooperators and defectors:
Color code: | Cooperators | Defectors |
---|---|---|
New cooperator | New defector |
The initial configuration is symmetric (a single defector in the center of a sea of cooperators) and the update rule is deterministic such that the symmetry is preserved. This produces fascinating evolutionary kaleidoscopes or dynamic persian carpets.
If simulations or numerical calculations are running, clicking in this area interrupts (pauses) the execution and has the same effect as the Stop-button. If no simulations are running, mouse-clicks can have different effects depending on the selected type of view displayed. For lattice games and a discrete set of strategies (e.g. to cooperate or to defect as in the depicted example) a click alters the strategy of the corresponding lattice site. If there are several strategies, multiple clicks rotate through all possibilities. For views depicting the phase plane (e.g. in the Simplex of public goods games with voluntary participation) clicks temporarily set the frequencies of all strategies to enable efficient explorations of the dynamics in the phase space. Moreover, for running ODE calculations, a mouse click stops forward integration and calculations proceed with backwards integration.
Hovering with the mouse over the different data views displays further information about the current state of the population in the form of a 'tool tip'. Again, the details of the information provided depend on the type of report displayed. For the present example of lattice games, placing the mouse pointer over a site displays the strategy at that site, its payoff, number of interactions, interaction partners etc. For phase planes it displays the fractions of each strategy at that particular location. This information is continuously updated if calculations are running.
Further details on the presentation of the data, available manipulations using the mouse and additional information accessible through tool tips triggered by the mouse pointer are provided together with the detailed description of the different data views.
Speed of calculations
For running simulations or numerical calculations the slider sets the delay between subsequent updates. Delays are large on the left and minimal on the right. On the left, simulations or numerical calculations are suspended between updates for approximately 2 seconds. On far right they are running without delay and the time between updates depends on various factors including the report frequency, the population size and the CPU power of the computer.
Display parameter panel
Numerous parameters are adjustable to fine tune the simulations and numerical calculations and to explore the often rich dynamical features of evolutionary systems. Please refer to the detailed description of the different parameters.
Reset
Resets and re-initializes the simulations and numerical calculations. This includes resetting time, re-initializing the population according to the settings specified in the parameters panel. For structured populations that require random links between individuals to generate (e.g. random graphs), a new population structure is generated.
Start/Stop/Continue
Starts, pauses or resumes simulations or numerical calculations. It toggles whether the VirtualLabs engine is running or idling. If the engine is idle, Run indicates that the engine is ready to start or continue calculations, whereas while the engine is running, the button displays Stop and interrupts the calculations.
Next
Displays the next state of the population. The step size depends on the report frequency and possible on the time increment for PDE's. In addition, the required CPU time for one step depends on the population size .
Status messages
In this area different kinds of information is displayed. Upon startup it shows the version of the graphical front end as well as of the engine. If the VirtualLabs engine encounters difficulties (e.g. incompatible parameter settings) then a warning is shown. More detailed information on the type of problem - and potential countermeasures - is available on the console log. The standard display summarizes the current state of the population. For discrete strategies this is the average frequency of each strategic type (the value in brackets indicates the long term average since the start of the simulations). For continuous strategies it displays the minimum, mean and maximum value of the strategic trait in the population.