edu.qut.cs.rcmd.core.alg.jaccard
Interface JaccardTrust<T>

All Known Implementing Classes:
JaccardTrustImpl

public interface JaccardTrust<T>

Implementations of this interface define a notion of the trust value between two users and the trust value is calculated based on the similarity of their tagged items. Implementations should return values in the range of 0 to 1.0, with 1.0 representing perfect similarity.


Method Summary
 double trustValue(Set<T> user1TaggedItems, Set<T> user2TaggedItems)
          Calculate the trust value from the first user to the second user
 

Method Detail

trustValue

double trustValue(Set<T> user1TaggedItems,
                  Set<T> user2TaggedItems)
Calculate the trust value from the first user to the second user

Parameters:
user1TaggedItems - The set of items tagged by user1
user2TaggedItems - The set of items tagged by user2
Returns:
The trust value from user1 to user2


Copyright © 2012. All Rights Reserved.