Class ClassicalCategorizer

java.lang.Object
org.tweetyproject.arg.deductive.categorizer.ClassicalCategorizer
All Implemented Interfaces:
Categorizer

public class ClassicalCategorizer extends Object implements Categorizer
This class implements a simple categorizer that does an bottom-up marking of the tree; leafs are marked undefeated and an inner node is marked defeated if at least one child is marked undefeated and defeated otherwise.

The method "categorize" returns "1" if the root node is undefeated and "0" if it is defeated.
Author:
Matthias Thimm
  • Constructor Details

    • ClassicalCategorizer

      public ClassicalCategorizer()
  • Method Details

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