Class BinaryAttack
- All Implemented Interfaces:
Iterable<BArgument>
,Attack
,BipolarEntity
,DungEntity
,Formula
,Node
This class models a binary attack relation between two arguments. It comprises of two attributes of
Argument
and is used by
abstract argumentation theories.- Author:
- Lars Bengel
-
Constructor Summary
ConstructorsConstructorDescriptionBinaryAttack
(BArgument attacker, BArgument attacked) Default constructor; initializes the two arguments used in this attack relation -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
returns the attacked argument of this attack relation.returns the attacking argument of this attack relation.Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf.Returns the signature of the language of this formula.int
hashCode()
iterator()
toString()
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
BinaryAttack
Default constructor; initializes the two arguments used in this attack relation- Parameters:
attacker
- the supporting argumentattacked
- the supported argument
-
-
Method Details
-
getAttacked
returns the attacked argument of this attack relation.- Specified by:
getAttacked
in interfaceAttack
- Returns:
- the attacked argument of this attack relation.
-
getAttacker
returns the attacking argument of this attack relation.- Specified by:
getAttacker
in interfaceAttack
- Returns:
- the attacking argument of this attack relation.
-
toString
- Specified by:
toString
in interfaceAttack
- Overrides:
toString
in classDirectedEdge<BArgument>
-
equals
-
hashCode
public int hashCode() -
contains
- Specified by:
contains
in interfaceBipolarEntity
-
getLdoFormula
Description copied from interface:DungEntity
Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Specified by:
getLdoFormula
in interfaceDungEntity
- Returns:
- the logical formula of this entity.
-
getSignature
Description copied from interface:Formula
Returns the signature of the language of this formula.- Specified by:
getSignature
in interfaceFormula
- Returns:
- the signature of the language of this formula.
-
iterator
-