Class AbaAttack<T extends Formula>
java.lang.Object
org.tweetyproject.graphs.GeneralEdge<Argument>
org.tweetyproject.graphs.Edge<Argument>
org.tweetyproject.graphs.DirectedEdge<Argument>
org.tweetyproject.arg.dung.syntax.Attack
org.tweetyproject.arg.aba.semantics.AbaAttack<T>
- Type Parameters:
T
- is the type of the language that the ABA theory's rules range over
- All Implemented Interfaces:
DungEntity
,Formula
This class models an ABA attack.
- Author:
- Nils Geilen (geilenn@uni-koblenz.de)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic <T extends Formula>
Collection<AbaAttack<T>> allAttacks
(Collection<Assumption<T>> from, Collection<Assumption<T>> to, AbaTheory<T> abat) Returns all attacks from the given attacking set to the given attacked set.static <T extends Formula>
Collection<AbaAttack<T>> allAttacks
(AbaTheory<T> abat) Returns all attacks between arguments in the given AbaTheory.static <T extends Invertable>
booleanattacks
(Deduction<T> attacker, Assumption<T> attacked) True iff attacker attacks attackedMethods inherited from class org.tweetyproject.arg.dung.syntax.Attack
contains, equals, getAttacked, getAttacker, getLdoFormula, getSignature, hashCode, isConflictFree, toString
-
Constructor Details
-
AbaAttack
-
-
Method Details
-
attacks
True iff attacker attacks attacked- Type Parameters:
T
- type- Parameters:
attacker
- the attacking argumentattacked
- the attacked argument- Returns:
- true iff attacker attacks attacked
-
allAttacks
public static <T extends Formula> Collection<AbaAttack<T>> allAttacks(Collection<Assumption<T>> from, Collection<Assumption<T>> to, AbaTheory<T> abat) Returns all attacks from the given attacking set to the given attacked set.- Type Parameters:
T
- the type of formulas- Parameters:
from
- the attacking setto
- the attacked setabat
- the ABA theory used to determine attacks- Returns:
- the set of attacks from the attacking set to the attacked set
-
allAttacks
Returns all attacks between arguments in the given AbaTheory.- Type Parameters:
T
- the type of formulas- Parameters:
abat
- the ABA theory used to determine attacks- Returns:
- all attacks between arguments in abat
-