Class SufficientExplanationReasoner
java.lang.Object
org.tweetyproject.arg.explanations.reasoner.acceptance.AbstractAcceptanceExplanationReasoner
org.tweetyproject.arg.explanations.reasoner.acceptance.SufficientExplanationReasoner
Reasoner for sufficient explanations for the acceptance of an argument
a set S is a sufficient explanation for the acceptance of an argument 'a'
iff S + {a} is admissible and only contains arguments relevant for 'a'
- Author:
- Lars Bengel
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetExplanations(DungTheory theory, Argument argument) Computes all acceptance explanations forargumentgetRelevantArguments(DungTheory theory, Argument argument) Computes the set of arguments relevant forargumentintheoryi.e.booleanisRelevantFor(DungTheory theory, Collection<Argument> arguments, Argument b) Determines whether the all arguments in the set are relevant for the argument 'b' in the given theorybooleanisRelevantFor(DungTheory theory, Argument a, Argument b) Determines whether the argument 'a' is relevant for the argument 'b' in the given theoryMethods inherited from class org.tweetyproject.arg.explanations.reasoner.acceptance.AbstractAcceptanceExplanationReasoner
getExplanation
-
Constructor Details
-
SufficientExplanationReasoner
public SufficientExplanationReasoner()
-
-
Method Details
-
getExplanations
Description copied from class:AbstractAcceptanceExplanationReasonerComputes all acceptance explanations forargument- Specified by:
getExplanationsin classAbstractAcceptanceExplanationReasoner- Parameters:
theory- some argumentation frameworkargument- some argument- Returns:
- all explanations for the acceptance of
argumentintheory
-
isRelevantFor
Determines whether the argument 'a' is relevant for the argument 'b' in the given theory- Parameters:
theory- some argumentation frameworka- some argumentb- some argument- Returns:
- TRUE iff 'a' is relevant for 'b'
-
isRelevantFor
Determines whether the all arguments in the set are relevant for the argument 'b' in the given theory- Parameters:
theory- some argumentation frameworkarguments- some set of argumentsb- some argument- Returns:
- TRUE iff 'arguments' is relevant for 'b'
-
getRelevantArguments
Computes the set of arguments relevant forargumentintheoryi.e. all arguments for which there exists a directed path toargument- Parameters:
theory- some argumentation frameworkargument- some argument- Returns:
- the set of arguments relevant for
argument
-