Class InterCommunityReranker.CommunityMetricUserReranker
java.lang.Object
es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
es.uam.eps.ir.relison.links.recommendation.reranking.local.communities.InterCommunityReranker.CommunityMetricUserReranker
- Direct Known Subclasses:
InterCommunityDegreeGiniComplement.CommGiniUserReranker
,InterCommunityEdgeGiniComplement.CommPairGiniUserReranker
,InverseCommunitySizeReranker.InverseCommunityPopularityUserReranker
,WeakTies.ModularityUserReranker
- Enclosing class:
- InterCommunityReranker<U>
protected abstract class InterCommunityReranker.CommunityMetricUserReranker extends LambdaReranker.LambdaUserReranker
Class that reranks an individual recommendation using community metrics.
-
Field Summary
Fields Modifier and Type Field Description protected Communities<U>
communities
The communities.protected MultiGraph<java.lang.Integer>
communityGraph
The community graphFields inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
novMap, novStats, relStats
-
Constructor Summary
Constructors Constructor Description CommunityMetricUserReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, MultiGraph<java.lang.Integer> communityGraph, Communities<U> communities)
Constructor -
Method Summary
Methods inherited from class es.uam.eps.ir.relison.links.recommendation.reranking.local.LambdaReranker.LambdaUserReranker
nov, selectItem, value
-
Field Details
-
communityGraph
The community graph -
communities
The communities.
-
-
Constructor Details
-
CommunityMetricUserReranker
public CommunityMetricUserReranker(es.uam.eps.ir.ranksys.core.Recommendation<U,U> recommendation, int maxLength, MultiGraph<java.lang.Integer> communityGraph, Communities<U> communities)Constructor- Parameters:
recommendation
- the recommendation to be reranked.maxLength
- the maximum length of the definitive ranking.communityGraph
- the community graph.communities
- the number of communities.
-