tc
Class TCkNNResult.TCkNNCategoryListElement
java.lang.Object
tc.TCkNNResult.TCkNNCategoryListElement
- All Implemented Interfaces:
- java.lang.Comparable
- Enclosing class:
- TCkNNResult
- class TCkNNResult.TCkNNCategoryListElement
- extends java.lang.Object
- implements java.lang.Comparable
the elements which will be filled in the array list of the parent class
with the two compare functions a category label, scores, and occurences
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
categoryLabel
java.lang.String categoryLabel
occurence
int occurence
score
double score
TCkNNResult.TCkNNCategoryListElement
TCkNNResult.TCkNNCategoryListElement(java.lang.String catLabel)
addScore
public void addScore(double s)
incrementOccurence
public void incrementOccurence()
equals
public boolean equals(java.lang.Object arg0)
- The label is the unique "index"
compareTo
public int compareTo(java.lang.Object arg0)
- Specified by:
compareTo in interface java.lang.Comparable