public class LiteralReasoner extends ArgumentationReasoner
attackStrategy, defenceStrategy| Constructor and Description |
|---|
LiteralReasoner(AttackStrategy attack,
AttackStrategy defence)
Creates a new reasoner for reasoning about literals in an
extended logic program given by the beliefBase.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isJustified(ArgumentationKnowledgeBase kb,
net.sf.tweety.lp.asp.syntax.ASPLiteral arg)
A literal is called x/y-justified, if a x/y-justified
argument with conclusion arg can be constructed from p.
|
boolean |
isOverruled(ArgumentationKnowledgeBase kb,
net.sf.tweety.lp.asp.syntax.ASPLiteral arg)
A literal is called x/y-overruled, iff it is not x/y-justified.
|
Boolean |
query(ArgumentationKnowledgeBase kb,
net.sf.tweety.lp.asp.syntax.ASPLiteral query) |
getDefensibleArguments, getJustifiedArguments, getOverruledArguments, isDefensible, isOverruled, querypublic LiteralReasoner(AttackStrategy attack, AttackStrategy defence)
beliefBase - attack - defence - public Boolean query(ArgumentationKnowledgeBase kb, net.sf.tweety.lp.asp.syntax.ASPLiteral query)
public boolean isOverruled(ArgumentationKnowledgeBase kb, net.sf.tweety.lp.asp.syntax.ASPLiteral arg)
arg - a literalpublic boolean isJustified(ArgumentationKnowledgeBase kb, net.sf.tweety.lp.asp.syntax.ASPLiteral arg)
arg - a literalCopyright © 2019. All rights reserved.