Enum Class ByPieceCoreProcessor.Variant
java.lang.Object
java.lang.Enum<ByPieceCoreProcessor.Variant>
fr.inria.rules.integraal.core.ByPieceCoreProcessor.Variant
- All Implemented Interfaces:
Serializable, Comparable<ByPieceCoreProcessor.Variant>, Constable
- Enclosing class:
ByPieceCoreProcessor<RW extends MaterializedData & Writable>
Variant of the by-piece core algorithm.
- Author:
- Guillaume Pérution-Kihli
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDeletes retractable variables as soon as they are found.Specializes pieces whenever a better retraction is found.Exhaustively searches all retractions. -
Method Summary
Modifier and TypeMethodDescriptionstatic ByPieceCoreProcessor.VariantReturns the enum constant of this class with the specified name.static ByPieceCoreProcessor.Variant[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EXHAUSTIVE
Exhaustively searches all retractions. -
BY_SPECIALISATION
Specializes pieces whenever a better retraction is found. -
BY_DELETION
Deletes retractable variables as soon as they are found.
-
-
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
-