Class SimpleDeductiveReasoner
- java.lang.Object
-
- net.sf.tweety.arg.deductive.reasoner.AbstractDeductiveArgumentationReasoner
-
- net.sf.tweety.arg.deductive.reasoner.SimpleDeductiveReasoner
-
- All Implemented Interfaces:
QuantitativeReasoner<DeductiveKnowledgeBase,PlFormula>,Reasoner<java.lang.Double,DeductiveKnowledgeBase,PlFormula>
public class SimpleDeductiveReasoner extends AbstractDeductiveArgumentationReasoner
This class implements a brute force approach to deductive argumentation. It performs deductive argumentation on a set of propositional formulas.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description SimpleDeductiveReasoner(Categorizer categorizer, Accumulator accumulator)Creates a new reasoner for the given belief base, categorizer, and accumulator.
-
Method Summary
Modifier and Type Method Description protected ArgumentTreegetArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgument arg)Computes the argument tree of the given argument.private ArgumentTreegetArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgumentNode argNode, java.util.Set<PlFormula> support)Computes the argument tree of the given argument.-
Methods inherited from class net.sf.tweety.arg.deductive.reasoner.AbstractDeductiveArgumentationReasoner
query
-
-
-
-
Constructor Detail
-
SimpleDeductiveReasoner
public SimpleDeductiveReasoner(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 ArgumentTree getArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgument arg)
Description copied from class:AbstractDeductiveArgumentationReasonerComputes the argument tree of the given argument.- Specified by:
getArgumentTreein classAbstractDeductiveArgumentationReasoner- Parameters:
kb- a knowledge basearg- some argument.- Returns:
- the argument tree for the argument
-
getArgumentTree
private ArgumentTree getArgumentTree(DeductiveKnowledgeBase kb, DeductiveArgumentNode argNode, java.util.Set<PlFormula> support)
Computes the argument tree of the given argument.- Parameters:
kb- the knowledge baseargNode- some argument node.support- the union of the supports of all previously encountered arguments- Returns:
- the argument tree for the argument
-
-