Interface Features.Static

All Superinterfaces:
Features, Features.Payoffs
All Known Implementing Classes:
Moran, simMoran
Enclosing interface:
Features

public static interface Features.Static extends Features.Payoffs
Interface that all modules with static fitness/payoffs should implement. The original Moran process is an example, see Moran.
  • Method Details

    • isStatic

      default boolean isStatic()
      Description copied from interface: Features
      Modules that are based on static fitness should implement the Features.Static interface and thus return true. The Moran modules is an example. All other modules must return false.
      Specified by:
      isStatic in interface Features
      Returns:
      false by default
      See Also:
    • getStaticScores

      double[] getStaticScores()
      Gets the static scores for the different types.
      Returns:
      the array with the static scores