Enum Class Map2Fitness.Map

All Implemented Interfaces:
Serializable, Comparable<Map2Fitness.Map>, Constable, CLOption.Key
Enclosing class:
Map2Fitness

public static enum Map2Fitness.Map extends Enum<Map2Fitness.Map> implements CLOption.Key
Enum representing the different types of payoff/score to fitness maps
  • Enum Constant Details

    • NONE

      public static final Map2Fitness.Map NONE
      no mapping, scores/payoffs equal fitness, \(fit = score\)
    • STATIC

      public static final Map2Fitness.Map STATIC
      static baseline fitness, \(fit = b+w*score\)
    • CONVEX

      public static final Map2Fitness.Map CONVEX
      convex combination of baseline fitness and scores, \(fit = b(1-w)+w*score\)
    • EXPONENTIAL

      public static final Map2Fitness.Map EXPONENTIAL
      exponential mapping of scores to fitness, \(fit = b*\exp(w*score)\)
  • Field Details

  • Constructor Details

    • Map

      private Map(String key, String title)
      Instantiate new type of map.
      Parameters:
      key - identifier for parsing of command line option
      title - summary of map
  • Method Details

    • values

      public static Map2Fitness.Map[] 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

      public static Map2Fitness.Map valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • toString

      public String toString()
      Overrides:
      toString in class Enum<Map2Fitness.Map>
    • getKey

      public String getKey()
      Description copied from interface: CLOption.Key
      Return key of in this collection. Used when parsing command line options.
      Specified by:
      getKey in interface CLOption.Key
      Returns:
      the key of the command line option
    • getTitle

      public String getTitle()
      Description copied from interface: CLOption.Key
      Brief description of purpose of this key. Used in GUI and in help display.
      Specified by:
      getTitle in interface CLOption.Key
      Returns:
      the title of the command line option
      See Also: