Class IsInconsistencyMeasure<S extends Formula>
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<S>
org.tweetyproject.logics.commons.analysis.IsInconsistencyMeasure<S>
- Type Parameters:
S
- The specific type of formulas
- All Implemented Interfaces:
PostulateEvaluatable<S>
,InconsistencyMeasure<BeliefSet<S,
?>>
This class implements the inconsistency measure I_CSP from
[Said Jabbour. On Inconsistency Measuring and Resolving. ECAI 2016]
This implementation uses a brute force search approach which does
not scale well.
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
Constructor Summary
ConstructorDescriptionIsInconsistencyMeasure
(MusEnumerator<S> enumerator) Creates a new measure that uses the given MUS enumerator. -
Method Summary
Modifier and TypeMethodDescriptioninconsistencyMeasure
(Collection<S> formulas) This method measures the inconsistency of the given set of formulas.Methods inherited from class org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
Constructor Details
-
IsInconsistencyMeasure
Creates a new measure that uses the given MUS enumerator.- Parameters:
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.
-