Class CanonicalUndercut
- java.lang.Object
-
- net.sf.tweety.arg.deductive.semantics.attacks.CanonicalUndercut
-
-
Field Summary
Fields Modifier and Type Field Description private static CanonicalUndercut
instance
Singleton instance.
-
Constructor Summary
Constructors Modifier Constructor Description private
CanonicalUndercut()
Private constructor.
-
Method Summary
Modifier and Type Method Description static CanonicalUndercut
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 CanonicalUndercut instance
Singleton instance.
-
-
Method Detail
-
getInstance
public static CanonicalUndercut 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
.
-
-