- java.lang.Object
-
- java.lang.Enum<CCConfig.AMO_ENCODER>
-
- org.logicng.cardinalityconstraints.CCConfig.AMO_ENCODER
-
- All Implemented Interfaces:
Serializable,Comparable<CCConfig.AMO_ENCODER>
- Enclosing class:
- CCConfig
public static enum CCConfig.AMO_ENCODER extends Enum<CCConfig.AMO_ENCODER>
The encoder for at-most-one and exactly-one constraints.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CCConfig.AMO_ENCODERvalueOf(String name)Returns the enum constant of this type with the specified name.static CCConfig.AMO_ENCODER[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
PURE
public static final CCConfig.AMO_ENCODER PURE
-
LADDER
public static final CCConfig.AMO_ENCODER LADDER
-
PRODUCT
public static final CCConfig.AMO_ENCODER PRODUCT
-
NESTED
public static final CCConfig.AMO_ENCODER NESTED
-
COMMANDER
public static final CCConfig.AMO_ENCODER COMMANDER
-
BINARY
public static final CCConfig.AMO_ENCODER BINARY
-
BIMANDER
public static final CCConfig.AMO_ENCODER BIMANDER
-
BEST
public static final CCConfig.AMO_ENCODER BEST
-
-
Method Detail
-
values
public static CCConfig.AMO_ENCODER[] 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 (CCConfig.AMO_ENCODER c : CCConfig.AMO_ENCODER.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CCConfig.AMO_ENCODER 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
-
-