Package org.evoludo.simulator.views
Interface HasS3
- All Known Implementing Classes:
ATBT
,CDL
,CDLP
,CDLPQ
,Centipede
,EcoPGG
,RSP
,simCDL
,simCDLP
,simCDLPQ
public interface HasS3
Module
s that implement the
HasS3
interface request a graphical view to visualize the
mean state of the population in the simplex \(S_3\) as a
function of time in their GUI: S3
for GWT and MVDS3
for JRE.
Important: Implementations have to be agnostic of the runtime environment (JRE vs GWT).
- Author:
- Christoph Hauert
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
The index of the bottom left corner.static final int
The index of the bottom right corner.static final int
The index of the top corner.static final int
The index of the bottom edge.static final int
The index of the left edge.static final int
The index of the right edge. -
Method Summary
-
Field Details
-
CORNER_LEFT
static final int CORNER_LEFTThe index of the bottom left corner.- See Also:
-
CORNER_RIGHT
static final int CORNER_RIGHTThe index of the bottom right corner.- See Also:
-
CORNER_TOP
static final int CORNER_TOPThe index of the top corner.- See Also:
-
EDGE_LEFT
static final int EDGE_LEFTThe index of the left edge.- See Also:
-
EDGE_RIGHT
static final int EDGE_RIGHTThe index of the right edge.- See Also:
-
EDGE_BOTTOM
static final int EDGE_BOTTOMThe index of the bottom edge.- See Also:
-
-
Method Details
-
getS3Map
Get the map that transforms the data of the model to a 2D phase plane (projection).- Parameters:
role
- the role of the players- Returns:
- the map
-
setS3Map
Set the map that transforms the data of the model to a 2D phase plane (projection) tomap
. This provides an opportunity for implementing classes to change settings of the map.- Parameters:
map
- the map
-