public class ArgumentationReasoner extends Object implements net.sf.tweety.commons.QualitativeReasoner<ArgumentationKnowledgeBase,Argument>
| Modifier and Type | Field and Description |
|---|---|
protected AttackStrategy |
attackStrategy |
protected AttackStrategy |
defenceStrategy |
| Constructor and Description |
|---|
ArgumentationReasoner(AttackStrategy attack,
AttackStrategy defence)
Creates a new ArgumentationReasoner parameterised
by a notion of attack for the opponent and another notion of attack for the defense
|
| Modifier and Type | Method and Description |
|---|---|
Set<Argument> |
getDefensibleArguments(ArgumentationKnowledgeBase kb)
Returns the set of defensible arguments, i.e.
|
Set<Argument> |
getJustifiedArguments(ArgumentationKnowledgeBase kb)
Returns the set of x/y-justified arguments using a bottom-up fixpoint calculation
|
Set<Argument> |
getOverruledArguments(ArgumentationKnowledgeBase kb)
Returns the set of overruled arguments, i.e.
|
boolean |
isDefensible(ArgumentationKnowledgeBase kb,
Argument arg)
An argument is called x/y-defensible if it is neither x/y-justified
nor x/y-overruled.
|
boolean |
isOverruled(ArgumentationKnowledgeBase kb,
Argument arg)
An argument is called x/y-overruled, if it is attacked by an
x/y-justified argument.
|
Boolean |
query(ArgumentationKnowledgeBase kb,
Argument query) |
protected AttackStrategy attackStrategy
protected AttackStrategy defenceStrategy
public ArgumentationReasoner(AttackStrategy attack, AttackStrategy defence)
attack - defence - public Boolean query(ArgumentationKnowledgeBase kb, Argument query)
query in interface net.sf.tweety.commons.QualitativeReasoner<ArgumentationKnowledgeBase,Argument>query in interface net.sf.tweety.commons.Reasoner<Boolean,ArgumentationKnowledgeBase,Argument>public boolean isOverruled(ArgumentationKnowledgeBase kb, Argument arg)
arg - an argumentpublic boolean isDefensible(ArgumentationKnowledgeBase kb, Argument arg)
arg - an argumentpublic Set<Argument> getJustifiedArguments(ArgumentationKnowledgeBase kb)
public Set<Argument> getOverruledArguments(ArgumentationKnowledgeBase kb)
public Set<Argument> getDefensibleArguments(ArgumentationKnowledgeBase kb)
Copyright © 2019. All rights reserved.