Enum TerminationConfigOption
- java.lang.Object
-
- java.lang.Enum<TerminationConfigOption>
-
- org.optaplanner.workbench.screens.solver.model.TerminationConfigOption
-
- All Implemented Interfaces:
Serializable,Comparable<TerminationConfigOption>
@Portable public enum TerminationConfigOption extends Enum<TerminationConfigOption>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static TerminationConfigOptionvalueOf(String name)Returns the enum constant of this type with the specified name.static TerminationConfigOption[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MILLISECONDS_SPENT_LIMIT
public static final TerminationConfigOption MILLISECONDS_SPENT_LIMIT
-
SECONDS_SPENT_LIMIT
public static final TerminationConfigOption SECONDS_SPENT_LIMIT
-
MINUTES_SPENT_LIMIT
public static final TerminationConfigOption MINUTES_SPENT_LIMIT
-
HOURS_SPENT_LIMIT
public static final TerminationConfigOption HOURS_SPENT_LIMIT
-
DAYS_SPENT_LIMIT
public static final TerminationConfigOption DAYS_SPENT_LIMIT
-
UNIMPROVED_MILLISECONDS_SPENT_LIMIT
public static final TerminationConfigOption UNIMPROVED_MILLISECONDS_SPENT_LIMIT
-
UNIMPROVED_SECONDS_SPENT_LIMIT
public static final TerminationConfigOption UNIMPROVED_SECONDS_SPENT_LIMIT
-
UNIMPROVED_MINUTES_SPENT_LIMIT
public static final TerminationConfigOption UNIMPROVED_MINUTES_SPENT_LIMIT
-
UNIMPROVED_HOURS_SPENT_LIMIT
public static final TerminationConfigOption UNIMPROVED_HOURS_SPENT_LIMIT
-
UNIMPROVED_DAYS_SPENT_LIMIT
public static final TerminationConfigOption UNIMPROVED_DAYS_SPENT_LIMIT
-
BEST_SCORE_LIMIT
public static final TerminationConfigOption BEST_SCORE_LIMIT
-
BEST_SCORE_FEASIBLE
public static final TerminationConfigOption BEST_SCORE_FEASIBLE
-
STEP_COUNT_LIMIT
public static final TerminationConfigOption STEP_COUNT_LIMIT
-
UNIMPROVED_STEP_COUNT_LIMIT
public static final TerminationConfigOption UNIMPROVED_STEP_COUNT_LIMIT
-
SCORE_CALCULATION_COUNT_LIMIT
public static final TerminationConfigOption SCORE_CALCULATION_COUNT_LIMIT
-
TERMINATION_COMPOSITION_STYLE
public static final TerminationConfigOption TERMINATION_COMPOSITION_STYLE
-
NESTED
public static final TerminationConfigOption NESTED
-
-
Method Detail
-
values
public static TerminationConfigOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (TerminationConfigOption c : TerminationConfigOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TerminationConfigOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException- if the argument is null
-
-