Class StrongUndercut
java.lang.Object
org.tweetyproject.arg.lp.semantics.attack.StrongUndercut
- All Implemented Interfaces:
AttackStrategy
This notion of attack models the strong undercut relation.
A strongly undercuts B iff
(1) A undercuts B and
(2) B does not undercut A
- Author:
- Sebastian Homann
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Returns "true" iff the first argument attacks the second argument.static StrongUndercut
Returns the singleton instance of this class.Returns the abbreviated identifier of this notion of attack, i.e.toString()
-
Method Details
-
getInstance
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
attacks
Description copied from interface:AttackStrategy
Returns "true" iff the first argument attacks the second argument.- Specified by:
attacks
in interfaceAttackStrategy
- Parameters:
a
- some argumentb
- some argument- Returns:
- "true" iff
a
attacksb
.
-
toString
-
toAbbreviation
Description copied from interface:AttackStrategy
Returns the abbreviated identifier of this notion of attack, i.e. "a" for attack- Specified by:
toAbbreviation
in interfaceAttackStrategy
- Returns:
- a short identifier
-