com.planetj.taste.neighborhood
Interface UserNeighborhood

All Superinterfaces:
Refreshable
All Known Implementing Classes:
NearestNUserNeighborhood, ThresholdUserNeighborhood

public interface UserNeighborhood
extends Refreshable

Implementations of this interface compute a "neighborhood" of Users like a given User. This neighborhood can be used to compute recommendations then.

Author:
Sean Owen

Method Summary
 java.util.Collection<User> getUserNeighborhood(java.lang.Object userID)
           
 
Methods inherited from interface com.planetj.taste.common.Refreshable
refresh
 

Method Detail

getUserNeighborhood

@NotNull
java.util.Collection<User> getUserNeighborhood(java.lang.Object userID)
                                               throws TasteException
Parameters:
userID - ID of user for which a neighborhood will be computed
Returns:
Collection of Users in the neighborhood
Throws:
TasteException - if an error occurs while accessing data