Package org.evoludo.simulator.views
Interface HasPhase2D
public interface HasPhase2D
Module
s that implement the
HasPhase2D
interface request a graphical view to visualize the
mean state of the population in a 2D (projection) of the phase plane as a
function of time in their GUI: Phase2D
for GWT and MVDPhase2D
for JRE. The
mapping of the data can be customized through the HasPhase2D.Data2Phase
interface.
Important: Implementations have to be agnostic of the runtime environment (JRE vs GWT).
- Author:
- Christoph Hauert
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interface
Interface for providing custom mappings from data to 2D phase plane projections. -
Method Summary
Modifier and TypeMethodDescriptiondefault HasPhase2D.Data2Phase
Get the map that transforms the data of the module to a 2D phase plane (projection).default void
Set the map that transforms the data of the module to a 2D phase plane (projection) tomap
.
-
Method Details
-
getPhase2DMap
Get the map that transforms the data of the module to a 2D phase plane (projection).- Returns:
- the map
-
setPhase2DMap
Set the map that transforms the data of the module to a 2D phase plane (projection) tomap
. This provides an opportunity for implementing classes to change settings of the map.- Parameters:
map
- the map
-