java.lang.Object
Type Parameters:
U - type of the users
All Implemented Interfaces:
GlobalReranker<U,​U>
Direct Known Subclasses:
ModularityComplement

public abstract class CompleteCommunityReranker<U>
extends GlobalRankingLambdaReranker<U,​U>
Reranker that uses community metrics of the user graph.
  • Field Details

  • Constructor Details

    • CompleteCommunityReranker

      public CompleteCommunityReranker​(double lambda, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph, Communities<U> communities, boolean selfloops)
      Constructor.
      Parameters:
      lambda - trade-off between the recommendation score and the novelty/diversity value.
      cutoff - number of elements to take.
      norm - the normalization strategy.
      graph - the original graph.
      communities - the relation between users and communities.
      selfloops - true if self-loops are allowed, false otherwise.