- java.lang.Object
-
- java.lang.Enum<FunctionCacheEntry>
-
- org.logicng.formulas.cache.FunctionCacheEntry
-
- All Implemented Interfaces:
Serializable,Comparable<FunctionCacheEntry>,CacheEntry
public enum FunctionCacheEntry extends Enum<FunctionCacheEntry> implements CacheEntry
The pre-defined function cache entries.- Since:
- 1.0
- Version:
- 2.2.0
-
-
Enum Constant Summary
Enum Constants Enum Constant Description DEPTHDNNF_MODELCOUNTLITERALSLITPROFILENUMBER_OF_ATOMSNUMBER_OF_NODESSUBFORMULASVARIABLESVARPROFILE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescription()Returns the description for this entry.static FunctionCacheEntryvalueOf(String name)Returns the enum constant of this type with the specified name.static FunctionCacheEntry[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUBFORMULAS
public static final FunctionCacheEntry SUBFORMULAS
-
VARPROFILE
public static final FunctionCacheEntry VARPROFILE
-
LITPROFILE
public static final FunctionCacheEntry LITPROFILE
-
DNNF_MODELCOUNT
public static final FunctionCacheEntry DNNF_MODELCOUNT
-
DEPTH
public static final FunctionCacheEntry DEPTH
-
NUMBER_OF_ATOMS
public static final FunctionCacheEntry NUMBER_OF_ATOMS
-
NUMBER_OF_NODES
public static final FunctionCacheEntry NUMBER_OF_NODES
-
VARIABLES
public static final FunctionCacheEntry VARIABLES
-
LITERALS
public static final FunctionCacheEntry LITERALS
-
-
Method Detail
-
values
public static FunctionCacheEntry[] 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 (FunctionCacheEntry c : FunctionCacheEntry.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FunctionCacheEntry 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
-
-