Class ExplanationPrinciple
java.lang.Object
org.tweetyproject.arg.explanations.principles.ExplanationPrinciple
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks 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).abstract booleanDetermines whether this principle is satisfied by the given reasoner for the given instancebooleanChecks whether this postulate is satisfied by the given approachevwrt.
-
Constructor Details
-
ExplanationPrinciple
public ExplanationPrinciple()
-
-
Method Details
-
isApplicable
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<Argument>- Parameters:
kb- some knowledge base- Returns:
- true if the knowledge base is a non trivial instance of this postulate.
-
isSatisfied
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(Collection<Argument> kb, AbstractAcceptanceExplanationReasoner ev) Determines whether this principle is satisfied by the given reasoner for the given instance- Parameters:
kb- some knowledge baseev- some reasoner- Returns:
- TRUE, iff this principle is satisfied by the given reasoner for the given instance
-