Enum IcebergInconsistencyMeasure.ConsequenceOperation
java.lang.Object
java.lang.Enum<IcebergInconsistencyMeasure.ConsequenceOperation>
org.tweetyproject.logics.pl.analysis.IcebergInconsistencyMeasure.ConsequenceOperation
- All Implemented Interfaces:
Serializable
,Comparable<IcebergInconsistencyMeasure.ConsequenceOperation>
,Constable
- Enclosing class:
IcebergInconsistencyMeasure
public static enum IcebergInconsistencyMeasure.ConsequenceOperation
extends Enum<IcebergInconsistencyMeasure.ConsequenceOperation>
A consequence operation returns parts of knowledge bases. The idea is to look
for "hidden" conflicts in sets of formulas and return the parts that are
truly relevant for the conflicts.
Some choices for consequence operations as described in the paper:
- Identity: using this consequence operation, *-conflicts of a knowledge base are equivalent to the MIS of the knowledge base
- Conjuncts: contains all conjuncts of the input, e.g. {a,b,a&&b} for a&&b
- Smallest conjuncts: contains only the smallest conjuncts of the input, i.e. {a,b} for a&&b
- Modular classical consequence: modular version of classical consequence
- Modus ponens: non-modular consequence operation, contains the result of recursively applying modus ponens to the conjuncts of all formulas
- Prime Implicates: based on the inconsistency measure of [Jabbour et al. On the characterization of inconsistency measures: A prime implicates based framework. ICTAI'14]
- Opposite Literals: non-modular consequence operation based on
PmInconsistencyMeasure
- Dalal: uses the dalal distance
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionconjunctsdalalidentitymodular classical consequencemodus ponensopposite literalsprime implicatesmallest conjuncts -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this type with the specified name.values()
Returns an array containing the constants of this enum type, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
IDENTITY
identity -
CONJUNCTS
conjuncts -
SMALLEST_CONJUNCTS
smallest conjuncts -
MODULAR_CLASSICAL_CONSEQUENCE
modular classical consequence -
MODUS_PONENS
modus ponens -
PRIME_IMPLICATE
prime implicate -
OPPOSITE_LITERALS
opposite literals -
DALAL
dalal
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
-