Class EAttack
java.lang.Object
org.tweetyproject.arg.bipolar.syntax.EAttack
- All Implemented Interfaces:
Iterable<BArgument>
,Attack
,BipolarEntity
,DungEntity
,Formula
,Node
Evidential attack used for PEAF and EAF
- Author:
- Taha Dogan Gunes
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionboolean
boolean
Get the arguments that receive this attackGet the arguments that originate this attackReturns 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()
Returns the attack object in string format for debug purposesMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
EAttack
The default constructor that creates EAttack object- Parameters:
froms
- the arguments that originate this attacktos
- the arguments that receive this attack
-
-
Method Details
-
getAttacker
Get the arguments that originate this attack- Specified by:
getAttacker
in interfaceAttack
- Returns:
- a set of arguments
-
getAttacked
Get the arguments that receive this attack- Specified by:
getAttacked
in interfaceAttack
- Returns:
- a set of arguments
-
toString
Returns the attack object in string format for debug purposes -
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
-