Interface Features.Static

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

public static interface Features.Static extends Features
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
      Returns whether payoffs/fitness are static (false by default).
      Specified by:
      isStatic in interface Features
      Returns:
      true if static
    • getStaticScores

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