U
- type of the usersI
- type of the itemspublic interface Recommender<U,I>
Modifier and Type | Method and Description |
---|---|
Recommendation<U,I> |
getRecommendation(U u)
Free recommendation.
|
Recommendation<U,I> |
getRecommendation(U u,
int maxLength)
Free recommendation.
|
Recommendation<U,I> |
getRecommendation(U u,
int maxLength,
Predicate<I> filter)
Filter recommendation.
|
Recommendation<U,I> |
getRecommendation(U u,
Predicate<I> filter)
Filter recommendation.
|
Recommendation<U,I> |
getRecommendation(U u,
Stream<I> candidates)
Candidates ranking.
|
Recommendation<U,I> getRecommendation(U u)
u
- user to be issued a recommendationRecommendation<U,I> getRecommendation(U u, int maxLength)
u
- user to be issued a recommendationmaxLength
- maximum length of recommendationRecommendation<U,I> getRecommendation(U u, Predicate<I> filter)
u
- user to be issued a recommendationfilter
- filter to decide which items might be recommendedRecommendation<U,I> getRecommendation(U u, int maxLength, Predicate<I> filter)
u
- user to be issued a recommendationmaxLength
- maximum length of recommendationfilter
- filter to decide which items might be recommendedRecommendation<U,I> getRecommendation(U u, Stream<I> candidates)
u
- user to be issued a recommendationcandidates
- candidate items to be included in the recommendationCopyright © 2016. All rights reserved.