public abstract class AbstractDeductiveArgumentationReasoner extends java.lang.Object implements QuantitativeReasoner<DeductiveKnowledgeBase,PropositionalFormula>
Modifier and Type | Field and Description |
---|---|
private Accumulator |
accumulator
The accumulator used for reasoning.
|
private Categorizer |
categorizer
The categorizer used for reasoning.
|
private static org.slf4j.Logger |
log
Logger.
|
Constructor and Description |
---|
AbstractDeductiveArgumentationReasoner(Categorizer categorizer,
Accumulator accumulator)
Creates a new reasoner for the given belief base,
categorizer, and accumulator.
|
Modifier and Type | Method and Description |
---|---|
protected abstract ArgumentTree |
getArgumentTree(DeductiveKnowledgeBase kb,
DeductiveArgument arg)
Computes the argument tree of the given argument.
|
java.lang.Double |
query(DeductiveKnowledgeBase kb,
PropositionalFormula f)
Queries the given belief base for the given formula.
|
private static org.slf4j.Logger log
private Categorizer categorizer
private Accumulator accumulator
public AbstractDeductiveArgumentationReasoner(Categorizer categorizer, Accumulator accumulator)
categorizer
- some categorizer.accumulator
- some accumulator.protected abstract ArgumentTree getArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgument arg)
arg
- some argument.public java.lang.Double query(DeductiveKnowledgeBase kb, PropositionalFormula f)
Reasoner
query
in interface Reasoner<java.lang.Double,DeductiveKnowledgeBase,PropositionalFormula>
kb
- a belief basef
- a formula