Class SpecificItemSimilarity<I>
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
-
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
-
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.
-