Class Support


public class Support extends DirectedEdge<Argument>
This class models a support between two arguments. It comprises two attributes of Argument and is used by bipolar abstract argumentation theories.
Author:
Lars Bengel
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Value for distinguishing between different interpretations of the support relation
  • Constructor Summary

    Constructors
    Constructor
    Description
    Support(Argument supporter, Argument supported)
    Default constructor; initializes the two arguments used in this support relation
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Determine whether the object is contained in this support
    boolean
     
    returns the supported argument of this support relation.
    returns the supporting argument of this support relation.
    int
     
     

    Methods inherited from class org.tweetyproject.graphs.Edge

    getLabel, getNodeA, getNodeB

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • Support

      public Support(Argument supporter, Argument supported)
      Default constructor; initializes the two arguments used in this support relation
      Parameters:
      supporter - the supporting argument
      supported - the supported argument
  • Method Details

    • getSupported

      public Argument getSupported()
      returns the supported argument of this support relation.
      Returns:
      the supported argument of this support relation.
    • getSupporter

      public Argument getSupporter()
      returns the supporting argument of this support relation.
      Returns:
      the supporting argument of this support relation.
    • toString

      public String toString()
      Overrides:
      toString in class DirectedEdge<Argument>
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Edge<Argument>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Edge<Argument>
    • contains

      public boolean contains(Object o)
      Determine whether the object is contained in this support
      Parameters:
      o - some object
      Returns:
      "true" if o is contained