public class CredibilityCategorizer extends AbstractCredibilityComparer implements Categorizer
Constructor and Description |
---|
CredibilityCategorizer(java.util.Collection<InformationObject<PropositionalFormula>> formulas,
Order<Agent> credOrder)
Creates a new credibility categorizer that is guided by the giving information which
agents uttered the formulas and the credibility order.
|
Modifier and Type | Method and Description |
---|---|
double |
categorize(ArgumentTree argumentTree)
This method categorizes the given argument tree.
|
private double |
categorize(ArgumentTree argumentTree,
DeductiveArgumentNode parent,
DeductiveArgumentNode node)
Performs the bottom-up search.
|
isAtLeastAsPreferredAs, isAtLeastAsPreferredAs, isAtLeastAsPreferredAs
public CredibilityCategorizer(java.util.Collection<InformationObject<PropositionalFormula>> formulas, Order<Agent> credOrder)
formulas
- The information objects that hold the information which agents
uttered the formulas.credOrder
- The credibility order used to guide the categorizing.public double categorize(ArgumentTree argumentTree)
Categorizer
categorize
in interface Categorizer
argumentTree
- some argument tree.private double categorize(ArgumentTree argumentTree, DeductiveArgumentNode parent, DeductiveArgumentNode node)
argumentTree
- some argument tree.parent
- the parent of the current node.node
- the current node.