Class CredibilityCategorizer

  • All Implemented Interfaces:
    Categorizer

    public class CredibilityCategorizer
    extends AbstractCredibilityComparer
    implements 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

      Constructors 
      Constructor Description
      CredibilityCategorizer​(java.util.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 Type Method Description
      double categorize​(ArgumentTree argumentTree)
      This method categorizes the given argument tree.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • CredibilityCategorizer

        public CredibilityCategorizer​(java.util.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 Detail

      • categorize

        public double categorize​(ArgumentTree argumentTree)
        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 interface Categorizer
        Parameters:
        argumentTree - some argument tree.
        Returns:
        the categorization of the argument tree.