Class ConfidentRebut
- java.lang.Object
 - 
- net.sf.tweety.arg.lp.semantics.attack.ConfidentRebut
 
 
- 
- All Implemented Interfaces:
 AttackStrategy
public class ConfidentRebut extends java.lang.Object implements AttackStrategy
This notion of attack models the strong rebut relation. A strongly rebuts B iff assumptions(A) = \emptyset and there is L in conclusion(A) and \neg L in conclusion(B).- Author:
 - Sebastian Homann
 
 
- 
- 
Field Summary
Fields Modifier and Type Field Description private static ConfidentRebutinstanceSingleton instance. 
- 
Constructor Summary
Constructors Modifier Constructor Description privateConfidentRebut()Private constructor. 
- 
Method Summary
Modifier and Type Method Description booleanattacks(Argument a, Argument b)Returns "true" iff the first argument attacks the second argument.static ConfidentRebutgetInstance()Returns the singleton instance of this class.java.lang.StringtoAbbreviation()Returns the abbreviated identifier of this notion of attack, i.e.java.lang.StringtoString() 
 - 
 
- 
- 
Field Detail
- 
instance
private static ConfidentRebut instance
Singleton instance. 
 - 
 
- 
Method Detail
- 
getInstance
public static ConfidentRebut getInstance()
Returns the singleton instance of this class.- Returns:
 - the singleton instance of this class.
 
 
- 
attacks
public boolean attacks(Argument a, Argument b)
Description copied from interface:AttackStrategyReturns "true" iff the first argument attacks the second argument.- Specified by:
 attacksin interfaceAttackStrategy- Parameters:
 a- some argumentb- some argument- Returns:
 - "true" iff 
aattacksb. 
 
- 
toString
public java.lang.String toString()
- Overrides:
 toStringin classjava.lang.Object
 
- 
toAbbreviation
public java.lang.String toAbbreviation()
Description copied from interface:AttackStrategyReturns the abbreviated identifier of this notion of attack, i.e. "a" for attack- Specified by:
 toAbbreviationin interfaceAttackStrategy- Returns:
 - a short identifier
 
 
 - 
 
 -