Class FuzzyInconsistencyMeasure
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<PlFormula>
org.tweetyproject.logics.pl.analysis.FuzzyInconsistencyMeasure
- All Implemented Interfaces:
PostulateEvaluatable<PlFormula>
,InconsistencyMeasure<BeliefSet<PlFormula,
?>>
This measure implements the approach presented in [Thimm, Measuring Inconsistency with Many-Valued Logics. 2017.]
- Author:
- Matthias Thimm
-
Field Summary
Modifier and TypeFieldDescriptionstatic final byte
static constant for the Sum-version of the measurestatic final byte
static constant for the T-version of the measureFields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
Constructor Summary
ConstructorDescriptionFuzzyInconsistencyMeasure
(TNorm tnorm) Creates a new measure for the given T-norm.FuzzyInconsistencyMeasure
(TNorm tnorm, byte measure_version) Creates a new measure for the given T-norm.FuzzyInconsistencyMeasure
(TNorm tnorm, TCoNorm tconorm) Creates a new measure (T Version) for the given T-norm and T-conorm.FuzzyInconsistencyMeasure
(TNorm tnorm, TCoNorm tconorm, byte measure_version) Creates a new measure for the given T-norm and T-conorm. -
Method Summary
Modifier and TypeMethodDescriptiongetOptimalInterpretation
(Collection<PlFormula> formulas) Returns an optimal interpretation as a witness for the inconsistency value.inconsistencyMeasure
(Collection<PlFormula> formulas) This method measures the inconsistency of the given set of formulas.Methods inherited from class org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
Field Details
-
TFUZZY_MEASURE
public static final byte TFUZZY_MEASUREstatic constant for the T-version of the measure- See Also:
-
SUMFUZZY_MEASURE
public static final byte SUMFUZZY_MEASUREstatic constant for the Sum-version of the measure- See Also:
-
-
Constructor Details
-
FuzzyInconsistencyMeasure
-
FuzzyInconsistencyMeasure
-
FuzzyInconsistencyMeasure
Creates a new measure for the given T-norm. Its dual is used as t-conorm.- Parameters:
tnorm
- some T-norm
-
FuzzyInconsistencyMeasure
Creates a new measure for the given T-norm. Its dual is used as t-conorm.- Parameters:
tnorm
- some T-normmeasure_version
- one of TFUZZY_MEASURE, SUMFUZZY_MEASURE
-
-
Method Details
-
getOptimalInterpretation
Returns an optimal interpretation as a witness for the inconsistency value.- Parameters:
formulas
- a set of formulas- Returns:
- an optimal interpretation as a witness for the inconsistency value.
-
inconsistencyMeasure
Description copied from class:BeliefSetInconsistencyMeasure
This method measures the inconsistency of the given set of formulas.- Specified by:
inconsistencyMeasure
in classBeliefSetInconsistencyMeasure<PlFormula>
- Parameters:
formulas
- a collection of formulas.- Returns:
- a Double indicating the degree of inconsistency.
-