Class ImNormalization
- java.lang.Object
-
- net.sf.tweety.logics.pl.postulates.ImPostulate
-
- net.sf.tweety.logics.pl.postulates.ImNormalization
-
public class ImNormalization extends ImPostulate
The "normalization" postulate for inconsistency measures: The inconsistency value is always in the unit interval [0,1], making it possible to compare inconsistency values for knowledge bases of different sizes.- 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 protectedImNormalization()Protected constructor so one uses only the single instance ImPostulate.NORMALIZATION
-
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
-
getName
public java.lang.String getName()
Description copied from interface:PostulateThe textual name of the postulate- Returns:
- a string
-
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
-
-