Class SetAttack
- All Implemented Interfaces:
DungEntity
,Formula
This class models an attack between two arguments. It comprises of two attributes of
Argument
and is mainly used by
abstract argumentation theories as e.g. SetAfTheory
.- Author:
- Sebastian Franke, Lars Bengel
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Return true if the given argument is in this attack relation.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()
boolean
isConflictFree
(Collection<? extends Argument> arguments) returns true if one arguments inarguments
attacks another within this attack relation.toString()
Methods inherited from class org.tweetyproject.graphs.HyperDirEdge
getLabel, getNodeA, getNodeB, remove
-
Constructor Details
-
SetAttack
-
SetAttack
-
-
Method Details
-
isConflictFree
returns true if one arguments inarguments
attacks another within this attack relation.- Parameters:
arguments
- a list of arguments- Returns:
- returns true if one arguments in
arguments
attacks another.
-
getAttacked
returns the attacked argument of this attack relation.- Returns:
- the attacked argument of this attack relation.
-
getAttackers
-
contains
Return true if the given argument is in this attack relation.- Parameters:
argument
- some argument- Returns:
- true if the given argument is in this attack relation.
-
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.
-
toString
- Overrides:
toString
in classHyperDirEdge<Argument>
-
equals
- Overrides:
equals
in classHyperDirEdge<Argument>
-
hashCode
public int hashCode()- Overrides:
hashCode
in classHyperDirEdge<Argument>
-
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.
-