public class Attack extends net.sf.tweety.graphs.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(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.
|
net.sf.tweety.commons.Signature |
getSignature() |
int |
hashCode() |
boolean |
isConflictFree(Collection<? extends Argument> arguments)
returns true if one arguments in
|
String |
toString() |
public boolean isConflictFree(Collection<? extends Argument> arguments)
arguments - a list of argumentspublic Argument getAttacked()
public Argument getAttacker()
public boolean contains(Argument argument)
argument - some argumentpublic net.sf.tweety.commons.Signature getSignature()
getSignature in interface net.sf.tweety.commons.Formulapublic String toString()
toString in class net.sf.tweety.graphs.DirectedEdge<Argument>public boolean equals(Object o)
equals in class net.sf.tweety.graphs.Edge<Argument>public int hashCode()
hashCode in class net.sf.tweety.graphs.Edge<Argument>public LdoFormula getLdoFormula()
DungEntitygetLdoFormula in interface DungEntityCopyright © 2018. All rights reserved.