Class CredibilityCategorizer
java.lang.Object
org.tweetyproject.beliefdynamics.mas.AbstractCredibilityComparer
org.tweetyproject.beliefdynamics.mas.CredibilityCategorizer
- All Implemented Interfaces:
Categorizer
This class implements a credibility-based categorizer that works like
the classical categorizer but dismisses arguments where
the least credible agent which uttered a formula in that argument
is not as least as credible as the least credible agent which uttered
a formula of the parent argument.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionCredibilityCategorizer
(Collection<InformationObject<PlFormula>> 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. -
Method Summary
Modifier and TypeMethodDescriptiondouble
categorize
(ArgumentTree argumentTree) This method categorizes the given argument tree.
-
Constructor Details
-
CredibilityCategorizer
public CredibilityCategorizer(Collection<InformationObject<PlFormula>> 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.- Parameters:
formulas
- The information objects that hold the information which agents uttered the formulas.credOrder
- The credibility order used to guide the categorizing.
-
-
Method Details
-
categorize
Description copied from interface:Categorizer
This method categorizes the given argument tree. In general, the semantics of this function is that a higher value of this categorization means a higher belief in the claim of the root argument of the argument tree.- Specified by:
categorize
in interfaceCategorizer
- Parameters:
argumentTree
- some argument tree.- Returns:
- the categorization of the argument tree.
-