Class DoubleCategory
java.lang.Object
org.tweetyproject.machinelearning.DoubleCategory
- All Implemented Interfaces:
 Category
A category for multi-class classification using a double as identifier.
- Author:
 - Matthias Thimm
 
- 
Constructor Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
DoubleCategory
public DoubleCategory(double 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:CategoryReturns a double representation of this category. - 
toString
 
 -