Class BinarySupport

All Implemented Interfaces:
Iterable<BArgument>, 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()
      Description copied from interface: Support
      Returns a string representation of the support relation.

      This method provides a textual description of the support relation, including information about the supporter, the supported argument, and the conditional probability.

      Specified by:
      toString in interface Support
      Overrides:
      toString in class DirectedEdge<BArgument>
      Returns:
      a string representation of the support relation
    • 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)
      Description copied from interface: BipolarEntity
      Checks if this entity contains the specified object.
      Specified by:
      contains in interface BipolarEntity
      Parameters:
      o - the object to check for containment, typically a BArgument
      Returns:
      true if the object is contained within this entity, false otherwise
    • iterator

      public Iterator<BArgument> iterator()
      Specified by:
      iterator in interface Iterable<BArgument>
    • setConditionality

      public void setConditionality(double c)
      Description copied from interface: Support
      Sets the conditionality of the support, represented by a probability value.

      The conditionality or strength of the support is represented by a conditional probability value, which reflects how strongly the supporter influences the supported argument.

      Specified by:
      setConditionality in interface Support
      Parameters:
      c - the conditional probability of the support
    • getConditionalProbability

      public double getConditionalProbability()
      Description copied from interface: Support
      Returns the conditional probability of the support.

      This method retrieves the conditional probability associated with the support, indicating the strength of the support.

      Specified by:
      getConditionalProbability in interface Support
      Returns:
      the conditional probability of the support