public void process(Long userID, long count) throws ExecutionException {
IDRescorer rescorer =
rescorerProvider == null ? null : rescorerProvider.getRecommendRescorer(new long[]{userID}, recommender);
Iterable<RecommendedItem> recs;
try {
recs = recommender.recommend(userID, howMany, rescorer);
} catch (TasteException te) {
throw new ExecutionException(te);
}
String outLine = AllItemSimilarities.formatOutLine(userID, recs);
synchronized (out) {