Class ImContradiction

  • All Implemented Interfaces:
    Postulate<PlFormula>

    public class ImContradiction
    extends ImPostulate
    The "contradiction" postulate for inconsistency measures: A knowledge base is maximally inconsistent if all non-empty subsets are inconsistent. This postulate is supposed to be an extension of the "normalization" postulate, meaning 1 is the maximum inconsistency value.
    Author:
    Anna Gessler
    See Also:
    ImNormalization
    • Constructor Detail

      • ImContradiction

        protected ImContradiction()
        Protected constructor so one uses only the single instance ImPostulate.CONTRADICTION
    • Method Detail

      • getName

        public java.lang.String getName()
        Description copied from interface: Postulate
        The textual name of the postulate
        Returns:
        a string
      • isApplicable

        public boolean isApplicable​(java.util.Collection<PlFormula> kb)
        Description copied from interface: Postulate
        Checks whether the given kb represents a non-trivial instance for this postulate, i.e., whether assumptions of this postulates are satisfied (evaluating an approach on a non-applicable instance always succeeds).
        Specified by:
        isApplicable in interface Postulate<PlFormula>
        Specified by:
        isApplicable in class ImPostulate
        Parameters:
        kb - some knowledge base
        Returns:
        true if the knowledge base is a non trivial instance of this postulate.