Class MiInconsistencyMeasure<S extends Formula>
- java.lang.Object
-
- net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure<S>
-
- net.sf.tweety.logics.commons.analysis.MiInconsistencyMeasure<S>
-
- Type Parameters:
S
- the type of formulas
- All Implemented Interfaces:
PostulateEvaluatable<S>
,InconsistencyMeasure<BeliefSet<S,?>>
- Direct Known Subclasses:
NormalizedMiInconsistencyMeasure
public class MiInconsistencyMeasure<S extends Formula> extends BeliefSetInconsistencyMeasure<S>
This class models the MI inconsistency measure.- Author:
- Matthias Thimm
-
-
Field Summary
-
Fields inherited from interface net.sf.tweety.logics.commons.analysis.InconsistencyMeasure
MEASURE_TOLERANCE
-
-
Constructor Summary
Constructors Constructor Description MiInconsistencyMeasure(MusEnumerator<S> enumerator)
Creates a new inconsistency measure.
-
Method Summary
Modifier and Type Method Description java.lang.Double
inconsistencyMeasure(java.util.Collection<S> formulas)
This method measures the inconsistency of the given set of formulas.java.lang.String
toString()
-
Methods inherited from class net.sf.tweety.logics.commons.analysis.BeliefSetInconsistencyMeasure
inconsistencyMeasure
-
-
-
-
Constructor Detail
-
MiInconsistencyMeasure
public MiInconsistencyMeasure(MusEnumerator<S> enumerator)
Creates a new inconsistency measure.- Parameters:
enumerator
- some MUs enumerator
-
-
Method Detail
-
inconsistencyMeasure
public java.lang.Double inconsistencyMeasure(java.util.Collection<S> formulas)
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
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-