Class ClassicalCategorizer
- java.lang.Object
-
- net.sf.tweety.arg.deductive.categorizer.ClassicalCategorizer
-
- All Implemented Interfaces:
Categorizer
public class ClassicalCategorizer extends java.lang.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 Summary
Constructors Constructor Description ClassicalCategorizer()
-
Method Summary
Modifier and Type Method Description double
categorize(ArgumentTree argumentTree)
This method categorizes the given argument tree.
-
-
-
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 interfaceCategorizer
- Parameters:
argumentTree
- some argument tree.- Returns:
- the categorization of the argument tree.
-
-