Package org.evoludo.simulator.models
Enum Class Data
- All Implemented Interfaces:
Serializable
,Comparable<Data>
,Constable
Data types that are handled by the model. Currently the following data types
are supported:
- Strategy
- the data represents strategies.
- Fitness
- the data represents payoffs/scores/fitness.
- Degree
- the data represents degrees of the network structure.
- Fixation probability
- the data represents fixation probabilities.
- Fixation time
- the data represents fixation times.
- Stationary distribution
- the data represents the stationary strategy distribution.
- undefined
- the data type is not defined/unknown.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDegree: the data represents degrees of the network structure.Fitness: the data represents payoffs/scores/fitness.Fixation probability: the data represents fixation probabilities.Fixation time: the data represents fixation times.Stationary distribution.Strategy: the data represents strategies.Undefined: the data type is not defined/unknown. -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Enum Constant Details
-
UNDEFINED
Undefined: the data type is not defined/unknown. -
STRATEGY
Strategy: the data represents strategies. -
FITNESS
Fitness: the data represents payoffs/scores/fitness. -
DEGREE
Degree: the data represents degrees of the network structure. -
STATISTICS_FIXATION_PROBABILITY
Fixation probability: the data represents fixation probabilities. -
STATISTICS_FIXATION_TIME
Fixation time: the data represents fixation times. -
STATISTICS_STATIONARY
Stationary distribution.
-
-
Field Details
-
id
String idIdentifying id of the type of data.
-
-
Constructor Details
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
-
isStatistics
public boolean isStatistics()Checks if the data type is a statistics type.- Returns:
true
for statistics data types
-