|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.recommender.algorithms.CorrelationCoeff
Simple struct to hold coeff value along with userID.
Constructor Summary | |
CorrelationCoeff(int userID,
float val)
Constructors with both userID and coeff are known. |
Method Summary | |
int |
compareTo(java.lang.Object o)
Implemented to satisfy Comparable. |
float |
getCoeff()
Accessor, return coefficient. |
int |
getUserID()
Accessor, return userID. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public CorrelationCoeff(int userID, float val)
userID
- val
- Method Detail |
public int getUserID()
public float getCoeff()
public int compareTo(java.lang.Object o)
compareTo
in interface java.lang.Comparable
|
CFEngine API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |