Class AttackRelation
java.lang.Object
org.tweetyproject.arg.lp.semantics.AttackRelation
This class represents an attack relation for a specific set
 of arguments represented by an ArgumentationKnowledgeBase.
- Author:
 - Sebastian Homann
 
- 
Constructor Summary
ConstructorsConstructorDescriptionAttackRelation(ArgumentationKnowledgeBase kb, AttackStrategy strategy) Creates a new AttackRelation for an argumentation knowledgebase and a certain notion of attack. - 
Method Summary
Modifier and TypeMethodDescriptionbooleanIs true iff at least one attacking argument attacks bbooleanReturns true iff argument a attacks argument b for the notion of attack represented by this attack relation.Returns all arguments from the knowledgebase, that attack argument a. 
- 
Constructor Details
- 
AttackRelation
Creates a new AttackRelation for an argumentation knowledgebase and a certain notion of attack.- Parameters:
 kb- an argument knowledge basestrategy- a notion of attack for arguments in the knowledgebase
 
 - 
 - 
Method Details
- 
attacks
Returns true iff argument a attacks argument b for the notion of attack represented by this attack relation.- Parameters:
 a- an argumentb- another argument- Returns:
 - true iff argument a attacks argument b
 
 - 
attacks
Is true iff at least one attacking argument attacks b- Parameters:
 attacker- a set of argumentsb- argument to be attacked by one or more arguments from the attacking set- Returns:
 - true iff at least one argument from attacker attacks b
 
 - 
getAttackingArguments
Returns all arguments from the knowledgebase, that attack argument a.- Parameters:
 a- an argument- Returns:
 - the set of arguments from kb, that attack argument a
 
 
 -