|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IUserSimilarityProvider
Interface for classes that provide user similarities.
Method Summary | |
---|---|
int[] |
getMostSimilarUsers(int user_id,
int n)
get the most similar users. |
float |
getUserSimilarity(int user_id1,
int user_id2)
get the similarity between two users. |
Method Detail |
---|
float getUserSimilarity(int user_id1, int user_id2)
user_id1
- the ID of the first useruser_id2
- the ID of the second user
int[] getMostSimilarUsers(int user_id, int n)
user_id
- the ID of the usern
- the number of similar users to return
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |