Class BooleanCategory
java.lang.Object
org.tweetyproject.machinelearning.BooleanCategory
- All Implemented Interfaces:
Category
A category for one-class classifiers.
- Author:
- Matthias Thimm
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BooleanCategory
public BooleanCategory(boolean cat) Creates a new category with the given value.- Parameters:
cat
- some boolean
-
-
Method Details
-
hashCode
public int hashCode() -
equals
-
asDouble
public double asDouble()Description copied from interface:Category
Returns a double representation of this category.
-