Class McscInconsistencyMeasure<S extends Formula>

  • Type Parameters:
    S - the type of formulas
    All Implemented Interfaces:
    PostulateEvaluatable<S>, InconsistencyMeasure<BeliefSet<S,​?>>

    public class McscInconsistencyMeasure<S extends Formula>
    extends BeliefSetInconsistencyMeasure<S>
    This class implements the approach of [Meriem Ammoura, Badran Raddaoui, Yakoub Salhi, Brahim Oukacha. On Measuring Inconsistency Using Maximal Consistent Sets. ECSQARU'15].
    This implementation actually uses a different characterization of the measure proposed in the paper above. Instead of using maximal consistent subsets the implementation uses minimal correction sets (note that there is a 1:1 correspondence between the two).
    Author:
    Matthias Thimm
    • 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.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • McscInconsistencyMeasure

        public McscInconsistencyMeasure​(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 class BeliefSetInconsistencyMeasure<S extends Formula>
        Parameters:
        formulas - a collection of formulas.
        Returns:
        a Double indicating the degree of inconsistency.