Enum Class RestartType

java.lang.Object
java.lang.Enum<RestartType>
org.moeaframework.algorithm.continuation.RestartType
All Implemented Interfaces:
Serializable, Comparable<RestartType>, Constable

public enum RestartType extends Enum<RestartType>
Enumeration of different restart types during adaptive time continuation.
  • Enum Constant Details

    • NONE

      public static final RestartType NONE
      Indicates that no restart occurred.
    • HARD

      public static final RestartType HARD
      Indicates a restart in which the population was cleared prior to injecting new solutions.
    • SOFT

      public static final RestartType SOFT
      Indicates a restart in which the new solutions were injected into an existing population.
  • Method Details

    • values

      public static RestartType[] 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 RestartType 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