Class DialectialSequenceExplanation
java.lang.Object
org.tweetyproject.commons.AbstractInterpretation<DungTheory, Argument>
org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretation<DungTheory>
org.tweetyproject.arg.explanations.semantics.Explanation
org.tweetyproject.arg.explanations.semantics.DialectialSequenceExplanation
- All Implemented Interfaces:
Comparable<Explanation>,Interpretation<DungTheory, Argument>
Models a sequence-based representation of an explanation for some argument
The representation distinguishes between supporting and defeated arguments
- Author:
- Lars Bengel
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDialectialSequenceExplanation(Argument argument) Instantiates a new empty dialectical explanation for the given argument -
Method Summary
Modifier and TypeMethodDescriptionbooleanadd(Collection<Argument> s, Collection<Argument> t) add a new 'step' to the explanationintExtension<?> getArgumentsOfStatus(ArgumentStatus status) Returns all arguments that have the given status in this interpretation.returns the sequence of defeated argument setsReturns the set-based explanation.returns the sequence of supporting argument setstoString()Methods inherited from class org.tweetyproject.arg.explanations.semantics.Explanation
getArgumentMethods inherited from class org.tweetyproject.arg.dung.semantics.AbstractArgumentationInterpretation
satisfies, satisfiesMethods inherited from class org.tweetyproject.commons.AbstractInterpretation
satisfies
-
Constructor Details
-
DialectialSequenceExplanation
Instantiates a new empty dialectical explanation for the given argument- Parameters:
argument- some argument
-
-
Method Details
-
getSetExplanation
Description copied from class:ExplanationReturns the set-based explanation.- Specified by:
getSetExplanationin classExplanation- Returns:
- the explanation as a collection of arguments
-
add
add a new 'step' to the explanation- Parameters:
s- a set of supporting argumentst- a set of defeated argument- Returns:
- 'true' if added successfully
-
getDefeated
returns the sequence of defeated argument sets- Returns:
- the sequence of defeated arguments
-
getSupporters
returns the sequence of supporting argument sets- Returns:
- the sequence of supporting arguments
-
compareTo
-
getArgumentsOfStatus
Description copied from class:AbstractArgumentationInterpretationReturns all arguments that have the given status in this interpretation.- Specified by:
getArgumentsOfStatusin classAbstractArgumentationInterpretation<DungTheory>- Parameters:
status- the status of the arguments to be returned.- Returns:
- the set of arguments with the given status.
-
toString
- Specified by:
toStringin classAbstractArgumentationInterpretation<DungTheory>
-