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 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.
      • categorize

        private double categorize​(ArgumentTree argumentTree,
                                  DeductiveArgumentNode parent,
                                  DeductiveArgumentNode node)
        Performs the bottom-up search.
        Parameters:
        argumentTree - some argument tree.
        parent - the parent of the current node.
        node - the current node.
        Returns:
        "1" if node is undefeated, "0" otherwise.