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

public abstract class InterCommunityReranker<U>
extends GlobalRankingLambdaReranker<U,​U>
Global reranker for computing metrics that only use links between pairs of communities.
  • Field Details

  • Constructor Details

    • InterCommunityReranker

      public InterCommunityReranker​(double lambda, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph, Communities<U> communities)
      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.