Enum Class PreviewFeature
- All Implemented Interfaces:
Serializable,Comparable<PreviewFeature>,Constable
Lists features available in Timefold Solver on a preview basis.
These preview features are developed to the same standard as the rest of Timefold Solver.
However, their APIs are not yet considered stable, pending user feedback.
Any class, method, or field related to these features may change or be removed without prior notice,
although we will strive to avoid this as much as possible.
We encourage you to try these preview features and give us feedback on your experience with them.
Please direct your feedback to our Github Discussions.
This list is not constant and is evolving over time, with items being added and removed without warning. It should not be treated as part of our public API, just like the preview features themselves.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUnlike other preview features, Move Streams are an active research project. -
Method Summary
Modifier and TypeMethodDescriptionstatic PreviewFeatureReturns the enum constant of this class with the specified name.static PreviewFeature[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
DECLARATIVE_SHADOW_VARIABLES
-
DIVERSIFIED_LATE_ACCEPTANCE
-
PLANNING_SOLUTION_DIFF
-
MOVE_STREAMS
Unlike other preview features, Move Streams are an active research project. It is intended to simplify the creation of custom moves, eventually replacing move selectors. The component is under heavy development, entirely undocumented, and many key features are yet to be delivered. Neither the API nor the feature set are complete, and any part can change or be removed at any time. Move Streams will eventually stabilize and be promoted from a research project to a true preview feature. We only expose it now to be able to use it for experimentation and testing. As such, it is an exception to the rule; this preview feature is not finished, and it is not yet ready for feedback.
-
-
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
-