Class DirectDefeat
- java.lang.Object
-
- net.sf.tweety.arg.deductive.semantics.attacks.DirectDefeat
-
-
Method Summary
Modifier and Type Method Description static DirectDefeat
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.
-
-
-
Method Detail
-
getInstance
public static DirectDefeat 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
.
-
-