Class BinarySupport

All Implemented Interfaces:
BipolarEntity, Support, DungEntity, Formula, Node

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

    • BinarySupport

      public BinarySupport(BArgument supporter, BArgument 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 BArgument getSupported()
      returns the supported argument of this support relation.
      Specified by:
      getSupported in interface Support
      Returns:
      the supported argument of this support relation.
    • getSupporter

      public BArgument getSupporter()
      returns the supporting argument of this support relation.
      Specified by:
      getSupporter in interface Support
      Returns:
      the supporting argument of this support relation.
    • getSignature

      public Signature getSignature()
      Description copied from interface: Formula
      Returns the signature of the language of this formula.
      Specified by:
      getSignature in interface Formula
      Returns:
      the signature of the language of this formula.
    • toString

      public String toString()
      Specified by:
      toString in interface Support
      Overrides:
      toString in class DirectedEdge<BArgument>
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Edge<BArgument>
    • getLdoFormula

      public LdoFormula getLdoFormula()
      Description copied from interface: DungEntity
      Returns a logical representation of this entity in LDO (Logic of dialectical outcomes, cf. [Hunter, Thimm, 2015])
      Specified by:
      getLdoFormula in interface DungEntity
      Returns:
      the logical formula of this entity.
    • contains

      public boolean contains(Object o)
      Specified by:
      contains in interface BipolarEntity