Class DirectDefeat
- java.lang.Object
-
- net.sf.tweety.arg.deductive.semantics.attacks.DirectDefeat
-
-
Method Summary
Modifier and Type Method Description static DirectDefeatgetInstance()Returns the singleton instance of this class.booleanisAttackedBy(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:AttackReturns "true" iff the first argument is attacked by the second argument.- Specified by:
isAttackedByin interfaceAttack- Parameters:
a- some argumentb- some argument- Returns:
- "true" iff
ais attacked byb.
-
-