Class ImSafeFormulaIndependence

java.lang.Object
org.tweetyproject.logics.pl.postulates.ImPostulate
org.tweetyproject.logics.pl.postulates.ImSafeFormulaIndependence
All Implemented Interfaces:
Postulate<PlFormula>

public class ImSafeFormulaIndependence extends ImPostulate
The "safe-formula independence" postulate for inconsistency measures: Removing a safe formula (i.e. a consistent formula whose signature is disjoint from the signature of the rest of the knowledge base) from the knowledge base does not change its inconsistency value.
Author:
Anna Gessler
  • Method Details

    • isApplicable

      public boolean isApplicable(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.
    • isSatisfied

      public boolean isSatisfied(Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)
      Specified by:
      isSatisfied in class ImPostulate
      Parameters:
      kb - collection of formulas
      ev - BeliefSet Inconsistency Measure
      Returns:
      whether the formulas are satisfied
    • getName

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