- java.lang.Object
-
- java.lang.Enum<ConfigurationType>
-
- org.logicng.configurations.ConfigurationType
-
- All Implemented Interfaces:
Serializable,Comparable<ConfigurationType>
public enum ConfigurationType extends Enum<ConfigurationType>
The different types of configurations in LogicNG.- Since:
- 1.1
- Version:
- 2.0.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADVANCED_SIMPLIFIERCC_ENCODERCNFFORMULA_FACTORYFORMULA_RANDOMIZERGLUCOSEMAXSATMINISATMUSPB_ENCODER
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ConfigurationTypevalueOf(String name)Returns the enum constant of this type with the specified name.static ConfigurationType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FORMULA_FACTORY
public static final ConfigurationType FORMULA_FACTORY
-
CNF
public static final ConfigurationType CNF
-
MINISAT
public static final ConfigurationType MINISAT
-
GLUCOSE
public static final ConfigurationType GLUCOSE
-
MAXSAT
public static final ConfigurationType MAXSAT
-
MUS
public static final ConfigurationType MUS
-
CC_ENCODER
public static final ConfigurationType CC_ENCODER
-
PB_ENCODER
public static final ConfigurationType PB_ENCODER
-
FORMULA_RANDOMIZER
public static final ConfigurationType FORMULA_RANDOMIZER
-
ADVANCED_SIMPLIFIER
public static final ConfigurationType ADVANCED_SIMPLIFIER
-
-
Method Detail
-
values
public static ConfigurationType[] 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 (ConfigurationType c : ConfigurationType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigurationType 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
-
-