Class SetAttack

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

public class SetAttack extends DirectedEdge<BipolarEntity> implements Attack
This class models an attack 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 Details

    • SetAttack

      public SetAttack(ArgumentSet supporter, BArgument supported)
      Default constructor; initializes the arguments used in this attack relation
      Parameters:
      supporter - the attacking set of arguments
      supported - the attacked argument
    • SetAttack

      public SetAttack(Collection<BArgument> supporter, BArgument supported)
      initializes the arguments used in this attack relation
      Parameters:
      supporter - a collection of attacking arguments arguments
      supported - the attacked argument
    • SetAttack

      public SetAttack(BArgument supporter, BArgument supported)
      initializes the arguments used in this attack relation
      Parameters:
      supporter - the attacking argument
      supported - the attacked argument
  • Method Details

    • getAttacked

      public BArgument getAttacked()
      returns the attacked argument of this attack relation.
      Specified by:
      getAttacked in interface Attack
      Returns:
      the attacked argument of this attack relation.
    • getAttacker

      public ArgumentSet getAttacker()
      returns the attacking set of arguments of this attack relation.
      Specified by:
      getAttacker in interface Attack
      Returns:
      the attacking set of arguments of this attack relation.
    • toString

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

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

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

      public boolean contains(Object o)
      Specified by:
      contains in interface BipolarEntity
    • 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.
    • 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.