java.lang.Object
es.uam.eps.ir.ranksys.nn.item.sim.ItemSimilarity<I>
es.uam.eps.ir.relison.links.recommendation.algorithms.knn.similarities.SpecificItemSimilarity<I>
Type Parameters:
I - type of the items.
All Implemented Interfaces:
es.uam.eps.ir.ranksys.core.index.ItemIndex<I>, es.uam.eps.ir.ranksys.fast.index.FastItemIndex<I>, es.uam.eps.ir.ranksys.nn.sim.Similarity

public class SpecificItemSimilarity<I>
extends es.uam.eps.ir.ranksys.nn.item.sim.ItemSimilarity<I>
Similarity between items.
  • Field Summary

    Fields inherited from class es.uam.eps.ir.ranksys.nn.item.sim.ItemSimilarity

    iIndex, sim
  • Constructor Summary

    Constructors 
    Constructor Description
    SpecificItemSimilarity​(es.uam.eps.ir.ranksys.fast.index.FastItemIndex<I> iIndex, es.uam.eps.ir.ranksys.nn.sim.Similarity sim)
    Constructor.
  • Method Summary

    Methods inherited from class es.uam.eps.ir.ranksys.nn.item.sim.ItemSimilarity

    iidx2item, item2iidx, numItems, similarElems, similarItems, similarItems, similarity, similarity, similarity, similarity

    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.FastItemIndex

    containsItem, getAllIidx, getAllItems, iidx2item, iidx2item, item2iidx, item2iidx
  • Constructor Details

    • SpecificItemSimilarity

      public SpecificItemSimilarity​(es.uam.eps.ir.ranksys.fast.index.FastItemIndex<I> iIndex, es.uam.eps.ir.ranksys.nn.sim.Similarity sim)
      Constructor.
      Parameters:
      iIndex - the item index.
      sim - the similarity.