Class PEEAFTheory.Attack
java.lang.Object
org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Element
org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Attack
- Enclosing class:
PEEAFTheory
Attack is a class, that is used for PEEAFTheory
Each link has one-to-one relationship with some result in PEEAF.
-
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
Return the argument that originates the attackdouble
getTo()
Get the element (attack, support or argument) that originates the attackvoid
setFrom
(PEEAFTheory.Argument from) Sets the argument that the attack originates fromvoid
The element (attack, support or argument) that originates the attacktoString()
Returns Attack as a string (good for debugging)Methods inherited from class org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Element
getIdentifier
-
Method Details
-
setFrom
Sets the argument that the attack originates from- Parameters:
from
- The argument that the attack originates from
-
setTo
The element (attack, support or argument) that originates the attack- Parameters:
to
- element
-
getFrom
Return the argument that originates the attack- Returns:
- the argument
-
getTo
Get the element (attack, support or argument) that originates the attack- Returns:
- the element
-
toString
-
getProbability
public double getProbability()- Returns:
- the result assigned to the attack link
-