Class PmInconsistencyMeasure

  • All Implemented Interfaces:
    PostulateEvaluatable<PlFormula>, InconsistencyMeasure<BeliefSet<PlFormula,​?>>

    public class PmInconsistencyMeasure
    extends BeliefSetInconsistencyMeasure<PlFormula>
    This class implements the inconsistency measure I_{P_m} proposed in [Jabbour, Raddaoui. Measuring Inconsistency Through Minimal Proofs. ECSQARU 2013]. The implementation here follows the characterization of I_{P_m} using Proposition 9 in the above paper. There, I_{P_m} (K)= \sum_{x\in Var(K)}|Pm(x)|*|Pm(-x)| where Pm(x) is the set of all (not necessarily consistent) minimal proofs of x in K that mention x.
    Author:
    Matthias Thimm
    • Constructor Detail

      • PmInconsistencyMeasure

        public PmInconsistencyMeasure()
    • Method Detail

      • getNumOfMinmalProofs

        private int getNumOfMinmalProofs​(PlFormula f,
                                         java.util.Collection<PlFormula> formulas)
        Returns the number of minimal proofs of f in formulas.
        Parameters:
        f - some formula (either a proposition or the negation of a proposition)
        formulas - a set of formulas (the knowledge base)
        Returns:
        the number of minimal proofs of f in formulas.