- java.lang.Object
-
- java.lang.Enum<MaxSATSolver.Algorithm>
-
- org.logicng.solvers.MaxSATSolver.Algorithm
-
- All Implemented Interfaces:
Serializable,Comparable<MaxSATSolver.Algorithm>
- Enclosing class:
- MaxSATSolver
protected static enum MaxSATSolver.Algorithm extends Enum<MaxSATSolver.Algorithm>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MaxSATSolver.AlgorithmvalueOf(String name)Returns the enum constant of this type with the specified name.static MaxSATSolver.Algorithm[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
WBO
public static final MaxSATSolver.Algorithm WBO
-
INC_WBO
public static final MaxSATSolver.Algorithm INC_WBO
-
LINEAR_SU
public static final MaxSATSolver.Algorithm LINEAR_SU
-
LINEAR_US
public static final MaxSATSolver.Algorithm LINEAR_US
-
MSU3
public static final MaxSATSolver.Algorithm MSU3
-
WMSU3
public static final MaxSATSolver.Algorithm WMSU3
-
OLL
public static final MaxSATSolver.Algorithm OLL
-
-
Method Detail
-
values
public static MaxSATSolver.Algorithm[] 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 (MaxSATSolver.Algorithm c : MaxSATSolver.Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MaxSATSolver.Algorithm 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
-
-