java.lang.Object
es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity<U>
es.uam.eps.ir.relison.links.recommendation.algorithms.knn.similarities.SpecificUserSimilarity<U>
Type Parameters:
U - type of the users.
All Implemented Interfaces:
es.uam.eps.ir.ranksys.core.index.UserIndex<U>, es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U>, es.uam.eps.ir.ranksys.nn.sim.Similarity

public class SpecificUserSimilarity<U>
extends es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity<U>
Similarity between users.
  • Field Summary

    Fields inherited from class es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity

    sim, uIndex
  • Constructor Summary

    Constructors 
    Constructor Description
    SpecificUserSimilarity​(es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U> uIndex, es.uam.eps.ir.ranksys.nn.sim.Similarity sim)
    Constructor.
  • Method Summary

    Methods inherited from class es.uam.eps.ir.ranksys.nn.user.sim.UserSimilarity

    numUsers, similarElems, similarity, similarity, similarity, similarity, similarUsers, similarUsers, uidx2user, user2uidx

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface es.uam.eps.ir.ranksys.fast.index.FastUserIndex

    containsUser, getAllUidx, getAllUsers, uidx2user, uidx2user, user2uidx, user2uidx
  • Constructor Details

    • SpecificUserSimilarity

      public SpecificUserSimilarity​(es.uam.eps.ir.ranksys.fast.index.FastUserIndex<U> uIndex, es.uam.eps.ir.ranksys.nn.sim.Similarity sim)
      Constructor.
      Parameters:
      uIndex - user index.
      sim - similarity function.