Class RankingPostulate
- java.lang.Object
-
- net.sf.tweety.arg.rankings.postulates.RankingPostulate
-
- Direct Known Subclasses:
RaAbstraction,RaAdditionOfAttackBranch,RaAdditionOfDefenseBranch,RaAttackVsFullDefense,RaCardinalityPrecedence,RaIndependence,RaNonAttackedEquivalence,RaQualityPrecedence,RaSelfContradiction,RaStrictAdditionOfDefenseBranch,RaTotal,RaVoidPrecedence
public abstract class RankingPostulate extends java.lang.Object implements Postulate<Argument>
An abstract postulate for ranking-based semantics in abstract argumentation; the ancestor of all concrete postulates.- Author:
- Anna Gessler, Matthias Thimm
-
-
Field Summary
Fields Modifier and Type Field Description static RankingPostulateABSTRACTIONThe ABSTRACTION postulatestatic RankingPostulateADDITIONOFATTACKBRANCHThe ADDITIONOFATTACKBRANCH postulatestatic RankingPostulateADDITIONOFDEFENSEBRANCHThe ADDITIONOFDEFENSEBRANCH postulatestatic RankingPostulateATTACKVSFULLDEFENSEThe ATTACKVSFULLDEFENSE postulatestatic RankingPostulateCARDINALITYPRECEDENCEThe CARDINALITYPRECEDENCE postulatestatic RankingPostulateINDEPENDENCEThe INDEPENDENCE postulatestatic RankingPostulateNONATTACKEDEQUIVALENCEThe NONATTACKEDEQUIVALENCE postulatestatic RankingPostulateQUALITYPRECEDENCEThe QUALITYPRECEDENCE postulatestatic RankingPostulateSELFCONTRADICTIONThe SELFCONTRADICTION postulatestatic RankingPostulateSTRICTADDITIONOFDEFENSEBRANCHThe STRICTADDITIONOFDEFENSEBRANCH postulatestatic RankingPostulateTOTALThe TOTAL postulatestatic RankingPostulateVOIDPRECEDENCEThe VOIDPRECEDENCE postulate
-
Constructor Summary
Constructors Constructor Description RankingPostulate()
-
Method Summary
Modifier and Type Method Description abstract booleanisApplicable(java.util.Collection<Argument> kb)The INCREASEOFDEFENSEBRANCH postulateabstract booleanisSatisfied(java.util.Collection<Argument> kb, AbstractRankingReasoner<ArgumentRanking> ev)booleanisSatisfied(java.util.Collection<Argument> kb, PostulateEvaluatable<Argument> ev)Checks whether this postulate is satisfied by the given approachevwrt.
-
-
-
Field Detail
-
ABSTRACTION
public static final RankingPostulate ABSTRACTION
The ABSTRACTION postulate
-
INDEPENDENCE
public static final RankingPostulate INDEPENDENCE
The INDEPENDENCE postulate
-
VOIDPRECEDENCE
public static final RankingPostulate VOIDPRECEDENCE
The VOIDPRECEDENCE postulate
-
SELFCONTRADICTION
public static final RankingPostulate SELFCONTRADICTION
The SELFCONTRADICTION postulate
-
CARDINALITYPRECEDENCE
public static final RankingPostulate CARDINALITYPRECEDENCE
The CARDINALITYPRECEDENCE postulate
-
TOTAL
public static final RankingPostulate TOTAL
The TOTAL postulate
-
NONATTACKEDEQUIVALENCE
public static final RankingPostulate NONATTACKEDEQUIVALENCE
The NONATTACKEDEQUIVALENCE postulate
-
QUALITYPRECEDENCE
public static final RankingPostulate QUALITYPRECEDENCE
The QUALITYPRECEDENCE postulate
-
ATTACKVSFULLDEFENSE
public static final RankingPostulate ATTACKVSFULLDEFENSE
The ATTACKVSFULLDEFENSE postulate
-
STRICTADDITIONOFDEFENSEBRANCH
public static final RankingPostulate STRICTADDITIONOFDEFENSEBRANCH
The STRICTADDITIONOFDEFENSEBRANCH postulate
-
ADDITIONOFDEFENSEBRANCH
public static final RankingPostulate ADDITIONOFDEFENSEBRANCH
The ADDITIONOFDEFENSEBRANCH postulate
-
ADDITIONOFATTACKBRANCH
public static final RankingPostulate ADDITIONOFATTACKBRANCH
The ADDITIONOFATTACKBRANCH postulate
-
-
Method Detail
-
isApplicable
public abstract boolean isApplicable(java.util.Collection<Argument> kb)
The INCREASEOFDEFENSEBRANCH postulate- Specified by:
isApplicablein interfacePostulate<Argument>- 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<Argument> kb, PostulateEvaluatable<Argument> 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<Argument>- 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<Argument> kb, AbstractRankingReasoner<ArgumentRanking> ev)
-
-