edu.qut.cs.rcmd.core.alg.simtrust.impl
Class SimTrustImpl<K>
java.lang.Object
edu.qut.cs.rcmd.core.alg.simtrust.impl.SimTrustImpl<K>
- All Implemented Interfaces:
- SimTrust<K>
public class SimTrustImpl<K>
- extends Object
- implements SimTrust<K>
Basic implementation of the SimTrust interface
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SimTrustImpl
public SimTrustImpl()
- Default Constructor
trustValue
public double trustValue(Map<K,Map<K,Double>> userProfile1,
Map<K,Map<K,Double>> userProfile2)
- Description copied from interface:
SimTrust
- Calculate the trust value from the first user to the second user
- Specified by:
trustValue
in interface SimTrust<K>
- Parameters:
userProfile1
- The user profile of user1userProfile2
- The user profile of user2
- Returns:
- The trust value from user1 to user2
Copyright © 2012. All Rights Reserved.