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 TypeMethodDescriptionbooleanbooleanGet 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.inthashCode()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:
getAttackerin interfaceAttack- Returns:
- a set of arguments
-
getAttacked
Get the arguments that receive this attack- Specified by:
getAttackedin 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:
containsin interfaceBipolarEntity
-
getLdoFormula
Description copied from interface:DungEntityReturns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])- Specified by:
getLdoFormulain interfaceDungEntity- Returns:
- the logical formula of this entity.
-
getSignature
Description copied from interface:FormulaReturns the signature of the language of this formula.- Specified by:
getSignaturein interfaceFormula- Returns:
- the signature of the language of this formula.
-
iterator
-