|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IItemSimilarityProvider
Interface for classes that provide item similarities.
Method Summary | |
---|---|
float |
getItemSimilarity(int item_id1,
int item_id2)
Get the similarity between two items. |
int[] |
getMostSimilarItems(int item_id,
int n)
Get the most similar items. |
Method Detail |
---|
float getItemSimilarity(int item_id1, int item_id2)
item_id1
- the ID of the first itemitem_id2
- the ID of the second item
int[] getMostSimilarItems(int item_id, int n)
item_id
- the ID of the itemn
- the number of similar items to return
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |