Class AbstractDeductiveArgumentationReasoner
- java.lang.Object
-
- net.sf.tweety.arg.deductive.reasoner.AbstractDeductiveArgumentationReasoner
-
- All Implemented Interfaces:
net.sf.tweety.commons.QuantitativeReasoner<DeductiveKnowledgeBase,net.sf.tweety.logics.pl.syntax.PlFormula>,net.sf.tweety.commons.Reasoner<Double,DeductiveKnowledgeBase,net.sf.tweety.logics.pl.syntax.PlFormula>
- Direct Known Subclasses:
CompilationReasoner,SimpleDeductiveReasoner
public abstract class AbstractDeductiveArgumentationReasoner extends Object implements net.sf.tweety.commons.QuantitativeReasoner<DeductiveKnowledgeBase,net.sf.tweety.logics.pl.syntax.PlFormula>
This class contains common characteristics for deductive argumentation reasoner.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description AbstractDeductiveArgumentationReasoner(Categorizer categorizer, Accumulator accumulator)Creates a new reasoner for the given belief base, categorizer, and accumulator.
-
Method Summary
Modifier and Type Method Description protected abstract ArgumentTreegetArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgument arg)Computes the argument tree of the given argument.Doublequery(DeductiveKnowledgeBase kb, net.sf.tweety.logics.pl.syntax.PlFormula f)
-
-
-
Constructor Detail
-
AbstractDeductiveArgumentationReasoner
public AbstractDeductiveArgumentationReasoner(Categorizer categorizer, Accumulator accumulator)
Creates a new reasoner for the given belief base, categorizer, and accumulator.- Parameters:
categorizer- some categorizer.accumulator- some accumulator.
-
-
Method Detail
-
getArgumentTree
protected abstract ArgumentTree getArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgument arg)
Computes the argument tree of the given argument.- Parameters:
kb- a knowledge basearg- some argument.- Returns:
- the argument tree for the argument
-
query
public Double query(DeductiveKnowledgeBase kb, net.sf.tweety.logics.pl.syntax.PlFormula f)
- Specified by:
queryin interfacenet.sf.tweety.commons.Reasoner<Double,DeductiveKnowledgeBase,net.sf.tweety.logics.pl.syntax.PlFormula>
-
-