Class PEEAFTheory.Support

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

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

The difference between support links of PEAFTheory and EAFTheory is that, each link has many-to-one relationship with some result.

  • Method Details

    • addFrom

      public void addFrom(PEEAFTheory.Argument from)
      Adds the argument into the set of arguments that originates the support
      Parameters:
      from - the argument that originates the support
    • getFroms

      public Set<PEEAFTheory.Argument> getFroms()
      Return the set of arguments that originates the support
      Returns:
      the set of the arguments
    • getTo

      public PEEAFTheory.Argument getTo()
      Return the argument that is targeted
      Returns:
      the argument that is targeted
    • setTo

      public void setTo(PEEAFTheory.Argument to)
      Set the argument that the support link targets
      Parameters:
      to - the argument that is targeted
    • toString

      public String toString()
      Returns Argument 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 support link