Class PEEAFTheory.Attack

java.lang.Object
org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Element
org.tweetyproject.arg.bipolar.syntax.PEEAFTheory.Attack
Enclosing class:
PEEAFTheory

public class PEEAFTheory.Attack extends PEEAFTheory.Element
Attack is a class, that is used for PEEAFTheory

Each link has one-to-one relationship with some result in PEEAF.

  • Method Details

    • setFrom

      public void setFrom(PEEAFTheory.Argument from)
      Sets the argument that the attack originates from
      Parameters:
      from - The argument that the attack originates from
    • setTo

      public void setTo(PEEAFTheory.Element to)
      The element (attack, support or argument) that originates the attack
      Parameters:
      to - element
    • getFrom

      public PEEAFTheory.Argument getFrom()
      Return the argument that originates the attack
      Returns:
      the argument
    • getTo

      public PEEAFTheory.Element getTo()
      Get the element (attack, support or argument) that originates the attack
      Returns:
      the element
    • toString

      public String toString()
      Returns Attack as a string (good for debugging)
      Overrides:
      toString in class Object
      Returns:
      a verbose string output of stored variables
    • getProbability

      public double getProbability()
      Returns:
      the result assigned to the attack link