Class BinarySupport

  • All Implemented Interfaces:
    BipolarEntity, Support, net.sf.tweety.arg.dung.syntax.DungEntity, net.sf.tweety.commons.Formula, net.sf.tweety.graphs.Node

    public class BinarySupport
    extends net.sf.tweety.graphs.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 Detail

      • 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 Detail

      • 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 net.sf.tweety.commons.Signature getSignature()
        Specified by:
        getSignature in interface net.sf.tweety.commons.Formula
      • toString

        public String toString()
        Specified by:
        toString in interface Support
        Overrides:
        toString in class net.sf.tweety.graphs.DirectedEdge<BArgument>
      • equals

        public boolean equals​(Object o)
        Overrides:
        equals in class net.sf.tweety.graphs.Edge<BArgument>
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class net.sf.tweety.graphs.Edge<BArgument>
      • getLdoFormula

        public net.sf.tweety.arg.dung.ldo.syntax.LdoFormula getLdoFormula()
        Specified by:
        getLdoFormula in interface net.sf.tweety.arg.dung.syntax.DungEntity