Class ImSafeFormulaIndependence
- java.lang.Object
-
- net.sf.tweety.logics.pl.postulates.ImPostulate
-
- net.sf.tweety.logics.pl.postulates.ImSafeFormulaIndependence
-
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
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class net.sf.tweety.logics.pl.postulates.ImPostulate
ImPostulate.SimpleMUSComparator
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.logics.pl.postulates.ImPostulate
ADJUNCTIONINVARIANCE, ATTENUATION, CONSISTENCY, CONTRADICTION, DOMINANCE, EQUALCONFLICT, EXCHANGE, FREEFORMULADILUTION, FREEFORMULAINDEPENDENCE, IRRELEVANCEOFSYNTAX, MINORMALIZATION, MONOTONY, NORMALIZATION, PENALTY, SAFEFORMULAINDEPENDENCE, SUPERADDITIVITY
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedImSafeFormulaIndependence()Protected constructor so one uses only the single instance ImPostulate.SAFEFORMULAINDEPENDENCE
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()The textual name of the postulatebooleanisApplicable(java.util.Collection<PlFormula> kb)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).booleanisSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)-
Methods inherited from class net.sf.tweety.logics.pl.postulates.ImPostulate
isSatisfied
-
-
-
-
Method Detail
-
isApplicable
public boolean isApplicable(java.util.Collection<PlFormula> kb)
Description copied from interface:PostulateChecks 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:
isApplicablein interfacePostulate<PlFormula>- Specified by:
isApplicablein classImPostulate- Parameters:
kb- some knowledge base- Returns:
- true if the knowledge base is a non trivial instance of this postulate.
-
isSatisfied
public boolean isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)
- Specified by:
isSatisfiedin classImPostulate
-
getName
public java.lang.String getName()
Description copied from interface:PostulateThe textual name of the postulate- Returns:
- a string
-
-