Class IsInconsistencyMeasure<S extends Formula>

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

    public class IsInconsistencyMeasure<S extends Formula>
    extends BeliefSetInconsistencyMeasure<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
    • 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

      • IsInconsistencyMeasure

        public IsInconsistencyMeasure​(MusEnumerator<S> enumerator)
        Creates a new measure that uses the given MUS enumerator.
        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.