Class DfInconsistencyMeasure<S extends Formula>
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<S>
org.tweetyproject.logics.commons.analysis.DfInconsistencyMeasure<S>
- Type Parameters:
S
- The specific type of formulas
- All Implemented Interfaces:
PostulateEvaluatable<S>
,InconsistencyMeasure<BeliefSet<S,
?>>
This class implements the family of "Measures of the Degree of Inconsistency" from
[Mu,Liu,Jin, Bell. A syntax-based approach to measuring the degree of inconsistency for belief bases. IJAR 52(7), 2011.]
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
Constructor Summary
ConstructorDescriptionDfInconsistencyMeasure
(SimpleFunction<double[], Double> measureFunction, MusEnumerator<S> enumerator) Creates a new inconsistency measure. -
Method Summary
Modifier and TypeMethodDescriptioninconsistencyMeasure
(Collection<S> formulas) This method measures the inconsistency of the given set of formulas.toString()
Methods inherited from class org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
Constructor Details
-
DfInconsistencyMeasure
public DfInconsistencyMeasure(SimpleFunction<double[], Double> measureFunction, MusEnumerator<S> enumerator) Creates a new inconsistency measure.- Parameters:
measureFunction
- the measure function used to aggregate the normalized cardinalities of minimal inconsistent subsets.enumerator
- some MUs enumerator
-
-
Method Details
-
inconsistencyMeasure
Description copied from class:BeliefSetInconsistencyMeasure
This method measures the inconsistency of the given set of formulas.- Specified by:
inconsistencyMeasure
in classBeliefSetInconsistencyMeasure<S extends Formula>
- Parameters:
formulas
- a collection of formulas.- Returns:
- a Double indicating the degree of inconsistency.
-
toString
-