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 booleanisStatic()Modules that are based on static fitness should implement theFeatures.Staticinterface and thus returntrue.Methods inherited from interface Features
getTitle, isMultispecies, isPairwiseMethods inherited from interface Features.Payoffs
getMap2Fitness, getMaxMonoPayoff, getMaxPayoff, getMinMonoPayoff, getMinPayoff, isNeutral
-
Method Details
-
isStatic
default boolean isStatic()Description copied from interface:FeaturesModules that are based on static fitness should implement theFeatures.Staticinterface and thus returntrue. TheMoranmodules 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
-