Package org.evoludo.simulator.modules
Interface Features.Static
- All Superinterfaces:
Features
,Features.Payoffs
- Enclosing interface:
Features
Interface that all modules with static fitness/payoffs should implement. The
original Moran process is an example, see
Moran
.-
Nested Class Summary
Nested classes/interfaces inherited from interface Features
Features.Groups, Features.Multispecies, Features.Pairs, Features.Payoffs, Features.Static
-
Method Summary
Modifier and TypeMethodDescriptiondouble[]
Gets the static scores for the different types.default boolean
isStatic()
Modules that are based on static fitness should implement theFeatures.Static
interface and thus returntrue
.Methods inherited from interface Features
getTitle, isMultispecies, isPairwise
Methods inherited from interface Features.Payoffs
getMap2Fitness, getMaxMonoPayoff, getMaxPayoff, getMinMonoPayoff, getMinPayoff, isNeutral
-
Method Details
-
isStatic
default boolean isStatic()Description copied from interface:Features
Modules that are based on static fitness should implement theFeatures.Static
interface and thus returntrue
. TheMoran
modules is an example. All other modules must returnfalse
. -
getStaticScores
double[] getStaticScores()Gets the static scores for the different types.- Returns:
- the array with the static scores
-