Package com.hexaly.optimizer
Enum Class HxCallbackType
- All Implemented Interfaces:
Serializable,Comparable<HxCallbackType>,Constable
List of types that can be used with callbacks. Each type corresponds to a
specific event that can occur during the resolution.
- Since:
- 4.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionEvent that occurs regularly before, after and during the search to display useful information about the model and the resolution.Event that occurs regularly during the resolution.Event that occurs when a phase ends.Event that occurs when a phase is started.Event that occurs regularly during the resolution. -
Method Summary
Modifier and TypeMethodDescriptionstatic HxCallbackTypeReturns the enum constant of this class with the specified name.static HxCallbackType[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
PhaseStarted
Event that occurs when a phase is started. -
PhaseEnded
Event that occurs when a phase ends. -
Display
Event that occurs regularly before, after and during the search to display useful information about the model and the resolution. The time between two such events can be tuned with the timeBetweenDisplays parameter.- See Also:
-
TimeTicked
Event that occurs regularly during the resolution. The time between two such events can be tuned with the timeBetweenTicks parameter.- See Also:
-
IterationTicked
Event that occurs regularly during the resolution. The number of iterations between two such events can be tuned with the iterationsBetweenTicked parameter.- See Also:
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-