- java.lang.Object
-
- java.lang.Enum<PrimeResult.CoverageType>
-
- org.logicng.primecomputation.PrimeResult.CoverageType
-
- All Implemented Interfaces:
Serializable,Comparable<PrimeResult.CoverageType>
- Enclosing class:
- PrimeResult
public static enum PrimeResult.CoverageType extends Enum<PrimeResult.CoverageType>
The coverage type.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description IMPLICANTS_COMPLETEIndicates that the set of prime implicants is complete, i.e.IMPLICATES_COMPLETEIndicates that the set of prime implicates is complete, i.e.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PrimeResult.CoverageTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PrimeResult.CoverageType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMPLICANTS_COMPLETE
public static final PrimeResult.CoverageType IMPLICANTS_COMPLETE
Indicates that the set of prime implicants is complete, i.e. there are no other prime implicants for the formula.
-
IMPLICATES_COMPLETE
public static final PrimeResult.CoverageType IMPLICATES_COMPLETE
Indicates that the set of prime implicates is complete, i.e. there are no other prime implicates for the formula.
-
-
Method Detail
-
values
public static PrimeResult.CoverageType[] 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 (PrimeResult.CoverageType c : PrimeResult.CoverageType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PrimeResult.CoverageType 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
-
-