edu.qut.cs.rcmd.core.alg.simtrust.impl
Class BasicTagRepresentationProvider

java.lang.Object
  extended by edu.qut.cs.rcmd.core.alg.simtrust.impl.BasicTagRepresentationProvider
All Implemented Interfaces:
TagRepresentationProvider

public class BasicTagRepresentationProvider
extends Object
implements TagRepresentationProvider

Basic implementation of the TagRepresentationProvider interface


Constructor Summary
BasicTagRepresentationProvider(TagModel tagModel, WeightedTagFormula weightedTagFormula)
          Constructor
 
Method Summary
 Map<String,Map<String,Double>> getUserTagRepresentation(long userId)
          Get the tag representation of a specific user
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicTagRepresentationProvider

public BasicTagRepresentationProvider(TagModel tagModel,
                                      WeightedTagFormula weightedTagFormula)
Constructor

Parameters:
tagModel - The tag model
weightedTagFormula - The weighted tag formula
Method Detail

getUserTagRepresentation

public Map<String,Map<String,Double>> getUserTagRepresentation(long userId)
Description copied from interface: TagRepresentationProvider
Get the tag representation of a specific user

Specified by:
getUserTagRepresentation in interface TagRepresentationProvider
Parameters:
userId - The user ID of the user
Returns:
The tag representation of the user


Copyright © 2012. All Rights Reserved.