public class Attack extends DirectedEdge<Argument> implements DungEntity
Constructor and Description |
---|
Attack(Argument attacker,
Argument attacked)
Default constructor; initializes the two arguments used in this attack relation
|
Modifier and Type | Method and Description |
---|---|
boolean |
contains(Argument argument)
Return true if the given argument is in this attack relation.
|
boolean |
equals(java.lang.Object o) |
Argument |
getAttacked()
returns the attacked argument of this attack relation.
|
Argument |
getAttacker()
returns the attacking argument of this attack relation.
|
LdoFormula |
getLdoFormula()
Returns a logical representation of this entity in LDO
(Logic of dialectical outcomes, cf.
|
Signature |
getSignature()
Returns the signature of the language of this formula.
|
int |
hashCode() |
boolean |
isConflictFree(java.util.Collection<? extends Argument> arguments)
returns true if one arguments in
|
java.lang.String |
toString() |
public boolean isConflictFree(java.util.Collection<? extends Argument> arguments)
arguments
- a list of argumentspublic Argument getAttacked()
public Argument getAttacker()
public boolean contains(Argument argument)
argument
- some argumentpublic Signature getSignature()
Formula
getSignature
in interface Formula
public java.lang.String toString()
toString
in class DirectedEdge<Argument>
public LdoFormula getLdoFormula()
DungEntity
getLdoFormula
in interface DungEntity