for (int i = 0; i < size; i++) {
long userID = prefs.get(i).getUserID();
possibleItemsIDs.addAll(model.getItemIDsFromUser(userID));
}
}
possibleItemsIDs.removeAll(itemIDs);
return TopItems.getTopItems(howMany, possibleItemsIDs.iterator(), null, estimator);
}
protected float doEstimatePreference(long userID, long itemID) throws TasteException {
double preference = 0.0;