Class Undercut
- java.lang.Object
-
- net.sf.tweety.arg.deductive.semantics.attacks.Undercut
-
-
Constructor Summary
Constructors Modifier Constructor Description private
Undercut()
Private constructor.
-
Method Summary
Modifier and Type Method Description static Undercut
getInstance()
Returns the singleton instance of this class.boolean
isAttackedBy(DeductiveArgument a, DeductiveArgument b)
Returns "true" iff the first argument is attacked by the second argument.
-
-
-
Field Detail
-
instance
private static Undercut instance
Singleton instance.
-
-
Method Detail
-
getInstance
public static Undercut getInstance()
Returns the singleton instance of this class.- Returns:
- the singleton instance of this class.
-
isAttackedBy
public boolean isAttackedBy(DeductiveArgument a, DeductiveArgument b)
Description copied from interface:Attack
Returns "true" iff the first argument is attacked by the second argument.- Specified by:
isAttackedBy
in interfaceAttack
- Parameters:
a
- some argumentb
- some argument- Returns:
- "true" iff
a
is attacked byb
.
-
-