Class ConfidentAttack

  • All Implemented Interfaces:
    AttackStrategy

    public class ConfidentAttack
    extends Object
    implements AttackStrategy
    This notion of attack models the confident attack relation. A attacks B iff A undercuts or confidently rebuts B.
    Author:
    Sebastian Homann
    • Method Detail

      • getInstance

        public static ConfidentAttack getInstance()
        Returns the singleton instance of this class.
        Returns:
        the singleton instance of this class.
      • attacks

        public boolean attacks​(Argument a,
                               Argument b)
        Description copied from interface: AttackStrategy
        Returns "true" iff the first argument attacks the second argument.
        Specified by:
        attacks in interface AttackStrategy
        Parameters:
        a - some argument
        b - some argument
        Returns:
        "true" iff a attacks b.
      • toAbbreviation

        public String toAbbreviation()
        Description copied from interface: AttackStrategy
        Returns the abbreviated identifier of this notion of attack, i.e. "a" for attack
        Specified by:
        toAbbreviation in interface AttackStrategy
        Returns:
        a short identifier