Class ClassicalCategorizer
java.lang.Object
org.tweetyproject.arg.deductive.categorizer.ClassicalCategorizer
- All Implemented Interfaces:
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.
The method "categorize" returns "1" if the root node is undefeated and "0" if it is defeated.
- Author:
- Matthias Thimm
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
categorize
(ArgumentTree argumentTree) This method categorizes the given argument tree.
-
Constructor Details
-
ClassicalCategorizer
public ClassicalCategorizer()
-
-
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.
-