- java.lang.Object
-
- java.lang.Enum<PBConfig.PB_ENCODER>
-
- org.logicng.pseudobooleans.PBConfig.PB_ENCODER
-
- All Implemented Interfaces:
Serializable,Comparable<PBConfig.PB_ENCODER>
- Enclosing class:
- PBConfig
public static enum PBConfig.PB_ENCODER extends Enum<PBConfig.PB_ENCODER>
The pseudo-Boolean encoder.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADDER_NETWORKSBESTBINARY_MERGESWC
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PBConfig.PB_ENCODERvalueOf(String name)Returns the enum constant of this type with the specified name.static PBConfig.PB_ENCODER[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SWC
public static final PBConfig.PB_ENCODER SWC
-
BINARY_MERGE
public static final PBConfig.PB_ENCODER BINARY_MERGE
-
ADDER_NETWORKS
public static final PBConfig.PB_ENCODER ADDER_NETWORKS
-
BEST
public static final PBConfig.PB_ENCODER BEST
-
-
Method Detail
-
values
public static PBConfig.PB_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 (PBConfig.PB_ENCODER c : PBConfig.PB_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 PBConfig.PB_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
-
-