Class SetSupport

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

    public class SetSupport
    extends net.sf.tweety.graphs.DirectedEdge<BipolarEntity>
    implements Support
    This class models a support between a set of arguments and an argument. It comprises of a set of BArgument and is used by bipolar abstract argumentation theories.
    Author:
    Lars Bengel
    • Constructor Detail

      • SetSupport

        public SetSupport​(ArgumentSet supporter,
                          BArgument supported)
        Default constructor; initializes the arguments used in this support relation
        Parameters:
        supporter - the supporting set of arguments
        supported - the supported argument
      • SetSupport

        public SetSupport​(Collection<BArgument> supporter,
                          BArgument supported)
        initializes the arguments used in this support relation
        Parameters:
        supporter - a collection of arguments
        supported - some argument
      • SetSupport

        public SetSupport​(BArgument supporter,
                          BArgument supported)
        initializes the 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 ArgumentSet getSupporter()
        returns the supporting set of arguments of this support relation.
        Specified by:
        getSupporter in interface Support
        Returns:
        the supporting set of arguments of this support relation.
      • contains

        public boolean contains​(BArgument argument)
        Return true if the given argument is in this support relation.
        Parameters:
        argument - some argument
        Returns:
        true if the given argument is in this support relation.
      • equals

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

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

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

        public net.sf.tweety.commons.Signature getSignature()
        Specified by:
        getSignature in interface net.sf.tweety.commons.Formula