Class DrasticInconsistencyMeasure<S extends Formula>
java.lang.Object
org.tweetyproject.logics.commons.analysis.BeliefSetInconsistencyMeasure<S>
org.tweetyproject.logics.commons.analysis.DrasticInconsistencyMeasure<S>
- Type Parameters:
S
- the type of formulas
- All Implemented Interfaces:
PostulateEvaluatable<S>
,InconsistencyMeasure<BeliefSet<S,
?>>
public class DrasticInconsistencyMeasure<S extends Formula>
extends BeliefSetInconsistencyMeasure<S>
This class models the drastic inconsistency measure.
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from interface org.tweetyproject.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
Constructor Summary
ConstructorDescriptionDrasticInconsistencyMeasure
(BeliefSetConsistencyTester<S> consTester) Creates a new drastic 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
-
DrasticInconsistencyMeasure
Creates a new drastic inconsistency measure.- Parameters:
consTester
- some consistency tester
-
-
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
-