- java.lang.Object
-
- java.lang.Enum<PredicateCacheEntry>
-
- org.logicng.formulas.cache.PredicateCacheEntry
-
- All Implemented Interfaces:
Serializable,Comparable<PredicateCacheEntry>,CacheEntry
public enum PredicateCacheEntry extends Enum<PredicateCacheEntry> implements CacheEntry
The pre-defined predicate cache entries.- Since:
- 1.0
- Version:
- 1.5.1
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Returns the description for this entry.static PredicateCacheEntryvalueOf(String name)Returns the enum constant of this type with the specified name.static PredicateCacheEntry[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IS_NNF
public static final PredicateCacheEntry IS_NNF
-
IS_CNF
public static final PredicateCacheEntry IS_CNF
-
IS_DNF
public static final PredicateCacheEntry IS_DNF
-
IS_AIG
public static final PredicateCacheEntry IS_AIG
-
IS_SAT
public static final PredicateCacheEntry IS_SAT
-
IS_TAUTOLOGY
public static final PredicateCacheEntry IS_TAUTOLOGY
-
-
Method Detail
-
values
public static PredicateCacheEntry[] 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 (PredicateCacheEntry c : PredicateCacheEntry.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PredicateCacheEntry 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
-
description
public String description()
Description copied from interface:CacheEntryReturns the description for this entry.- Specified by:
descriptionin interfaceCacheEntry- Returns:
- the description for this entry
-
-