Class ImPostulate
- java.lang.Object
-
- net.sf.tweety.logics.pl.postulates.ImPostulate
-
- Direct Known Subclasses:
ImAdjunctionInvariance,ImAttenuation,ImConsistency,ImContradiction,ImDominance,ImEqualConflict,ImExchange,ImFreeFormulaDilution,ImFreeFormulaIndependence,ImIrrelevanceOfSyntax,ImMINormalization,ImMonotony,ImNormalization,ImPenalty,ImSafeFormulaIndependence,ImSuperAdditivity
public abstract class ImPostulate extends java.lang.Object implements Postulate<PlFormula>
An abstract postulate for inconsistency measures in propositional logic; the ancestor of all concrete postulates.- Author:
- Matthias Thimm
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description (package private) classImPostulate.SimpleMUSComparatorComparator for sorting MUS by comparing hash codes.
-
Field Summary
Fields Modifier and Type Field Description static ImPostulateADJUNCTIONINVARIANCEThe ADJUNCTIONINVARIANCE postulatestatic ImPostulateATTENUATIONThe ATTENUATION postulatestatic ImPostulateCONSISTENCYThe CONSISTENCY postulatestatic ImPostulateCONTRADICTIONThe CONTRADICTION postulatestatic ImPostulateDOMINANCEThe DOMINANCE postulatestatic ImPostulateEQUALCONFLICTThe EQUALCONFLICT postulatestatic ImPostulateEXCHANGEThe EXCHANGE postulatestatic ImPostulateFREEFORMULADILUTIONThe FREEFORMULADILUTION postulatestatic ImPostulateFREEFORMULAINDEPENDENCEThe FREEFORMULAINDEPENDENCE postulatestatic ImPostulateIRRELEVANCEOFSYNTAXThe IRRELEVANCEOFSYNTAX postulatestatic ImPostulateMINORMALIZATIONThe MINORMALIZATION postulatestatic ImPostulateMONOTONYThe MONOTONY postulatestatic ImPostulateNORMALIZATIONThe NORMALIZATION postulatestatic ImPostulatePENALTYThe PENALTY postulatestatic ImPostulateSAFEFORMULAINDEPENDENCEThe SAFEFORMULAINDEPENDENCE postulatestatic ImPostulateSUPERADDITIVITYThe SUPERADDITIVITY postulate
-
Constructor Summary
Constructors Constructor Description ImPostulate()
-
Method Summary
Modifier and Type Method Description abstract booleanisApplicable(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, PostulateEvaluatable<PlFormula> ev)Checks whether this postulate is satisfied by the given approachevwrt.abstract booleanisSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)
-
-
-
Field Detail
-
MONOTONY
public static final ImPostulate MONOTONY
The MONOTONY postulate
-
DOMINANCE
public static final ImPostulate DOMINANCE
The DOMINANCE postulate
-
FREEFORMULAINDEPENDENCE
public static final ImPostulate FREEFORMULAINDEPENDENCE
The FREEFORMULAINDEPENDENCE postulate
-
SAFEFORMULAINDEPENDENCE
public static final ImPostulate SAFEFORMULAINDEPENDENCE
The SAFEFORMULAINDEPENDENCE postulate
-
FREEFORMULADILUTION
public static final ImPostulate FREEFORMULADILUTION
The FREEFORMULADILUTION postulate
-
CONSISTENCY
public static final ImPostulate CONSISTENCY
The CONSISTENCY postulate
-
NORMALIZATION
public static final ImPostulate NORMALIZATION
The NORMALIZATION postulate
-
SUPERADDITIVITY
public static final ImPostulate SUPERADDITIVITY
The SUPERADDITIVITY postulate
-
PENALTY
public static final ImPostulate PENALTY
The PENALTY postulate
-
MINORMALIZATION
public static final ImPostulate MINORMALIZATION
The MINORMALIZATION postulate
-
ATTENUATION
public static final ImPostulate ATTENUATION
The ATTENUATION postulate
-
ADJUNCTIONINVARIANCE
public static final ImPostulate ADJUNCTIONINVARIANCE
The ADJUNCTIONINVARIANCE postulate
-
IRRELEVANCEOFSYNTAX
public static final ImPostulate IRRELEVANCEOFSYNTAX
The IRRELEVANCEOFSYNTAX postulate
-
EXCHANGE
public static final ImPostulate EXCHANGE
The EXCHANGE postulate
-
EQUALCONFLICT
public static final ImPostulate EQUALCONFLICT
The EQUALCONFLICT postulate
-
CONTRADICTION
public static final ImPostulate CONTRADICTION
The CONTRADICTION postulate
-
-
Method Detail
-
isApplicable
public abstract 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>- 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, PostulateEvaluatable<PlFormula> ev)
Description copied from interface:PostulateChecks whether this postulate is satisfied by the given approachevwrt. the given instancekb(note that evaluating an approach on a non-applicable instance always succeeds).- Specified by:
isSatisfiedin interfacePostulate<PlFormula>- Parameters:
kb- some knowledge baseev- some approach- Returns:
- true if the postulate is satisfied on the instance
-
isSatisfied
public abstract boolean isSatisfied(java.util.Collection<PlFormula> kb, BeliefSetInconsistencyMeasure<PlFormula> ev)
-
-