- java.lang.Object
-
- java.lang.Enum<CCConfig.BIMANDER_GROUP_SIZE>
-
- org.logicng.cardinalityconstraints.CCConfig.BIMANDER_GROUP_SIZE
-
- All Implemented Interfaces:
Serializable,Comparable<CCConfig.BIMANDER_GROUP_SIZE>
- Enclosing class:
- CCConfig
public static enum CCConfig.BIMANDER_GROUP_SIZE extends Enum<CCConfig.BIMANDER_GROUP_SIZE>
The group size for the Bimander encoding.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CCConfig.BIMANDER_GROUP_SIZEvalueOf(String name)Returns the enum constant of this type with the specified name.static CCConfig.BIMANDER_GROUP_SIZE[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
HALF
public static final CCConfig.BIMANDER_GROUP_SIZE HALF
-
SQRT
public static final CCConfig.BIMANDER_GROUP_SIZE SQRT
-
FIXED
public static final CCConfig.BIMANDER_GROUP_SIZE FIXED
-
-
Method Detail
-
values
public static CCConfig.BIMANDER_GROUP_SIZE[] 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.BIMANDER_GROUP_SIZE c : CCConfig.BIMANDER_GROUP_SIZE.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.BIMANDER_GROUP_SIZE 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
-
-