CFEngine API

Uses of Class
org.recommender.server.ItemRating

Packages that use ItemRating
org.recommender.algorithms A wide variety of different implementations of collaborative filtering recommendation and precition algorithms are provided. 
org.recommender.algorithms.Experimental   
org.recommender.server This package contains the core Java recommender server code, including the database access code, the ratings caching code, and code that instantiates algorithms. 
 

Uses of ItemRating in org.recommender.algorithms
 

Methods in org.recommender.algorithms that return ItemRating
 ItemRating ItemRatingPair.getActiveUserRating()
          Accessor, return activeUser
 ItemRating ItemRatingPair.getNeighborRating()
          Accessor, return neighbor(rating).
 

Constructors in org.recommender.algorithms with parameters of type ItemRating
ItemRatingPair(ItemRating activeuser, ItemRating neighbor)
          Constructor with both activeUser and neighbor are availble.
ItemRatingPair(ItemRating activeuser, ItemRating neighbor)
          Constructor with both activeUser and neighbor are availble.
 

Uses of ItemRating in org.recommender.algorithms.Experimental
 

Methods in org.recommender.algorithms.Experimental that return ItemRating
 ItemRating[] UserItem2Algorithm.getRecommendations(int activeUser, int n)
          Not yet implemented.
 ItemRating[] ContinuousBayesNetAlgorithm.getRecommendations(int activeUser, int n)
           
 ItemRating[] ContinuousBayesNetAlgorithm.getRecommendationsByType(int activeUser, int n, int type)
           
 ItemRating[] BayesNetAlgorithm.getRecommendations(int activeUser, int n)
          Returns top n recommendations Not yet complete
 ItemRating[] BayesNetAlgorithm.getRecommendationsByType(int activeUser, int n, int type)
           
 

Uses of ItemRating in org.recommender.server
 

Methods in org.recommender.server that return ItemRating
 ItemRating CFEngineImpl.getRating(int userID, int itemID)
          Retrieves a rating for user' item from cache.
 ItemRating[] CFEngineImpl.getRatingList(int userID, int[] itemIDs)
          Retrieves ratings for user's items from cache.
 ItemRating[] CFEngineImpl.getUserRatingList(int userID)
          Return an array of itemIDs which the given user has rated.
 ItemRating[] CFEngineImpl.getItemRatingList(int itemID)
          Return an array of userIDs who have rated the given item.
 ItemRating CFEngine.getRating(int userID, int itemID)
          Retrieves one user's rating for a given item.
 ItemRating[] CFEngine.getRatingList(int userID, int[] itemIDs)
          Retrieves the ratings by the user for a list of given items.
 ItemRating[] CFEngine.getUserRatingList(int userID)
          Return an array of all known ratings for the given user.
 ItemRating[] CFEngine.getItemRatingList(int itemID)
          Return an array of all known ratings for the given item.
 ItemRating[] RatingArrays.getItemRatingsArray()
          Returns an array of itemratings corresponding to the values cached;
 ItemRating DataManager.getItemRatingCached(int userID, int itemID)
          Get rating from the cache.
 ItemRating[] DataManager.getItemRatingList(int itemID)
          Return an array of userIDs who have rated the given item.
 ItemRating[] DataManager.getUserRatingList(int userID)
          Return an array of itemIDs which the given user has rated.
 

Methods in org.recommender.server with parameters of type ItemRating
 int CFEngineImpl.setRatingList(ItemRating[] newRatings)
          Add a list of new ItemRatings to both database and the cache.
 int CFEngine.setRatingList(ItemRating[] newRatings)
          Add a list of new ItemRatings to both database and the cache.
static void DBList.insertOrReplaceRating(ItemRating rating)
          Insert clients' ratings into the table.
static void DBList.updateRating(ItemRating rating)
          Update clients' ratings in the table.
 void ItemInfo.addRating(ItemRating rating)
          Adds rating and updates the necessary stats
 void DataManager.addRating(ItemRating rating)
          Adds a new rating to both database and the cache.
 void DataManager.addCachedRating(ItemRating rating)
          Add ratings to cache but not to the database.
 void DataManager.removeCachedRating(ItemRating rating)
          Remove rating from the cache.
 


CFEngine API

Copyright © 2003 - Oregon State University www.orst.edu