Class ClusteringCoefficientComplementReranker<U>

Type Parameters:
U - Type of the users.
All Implemented Interfaces:
GlobalReranker<U,​U>

public class ClusteringCoefficientComplementReranker<U>
extends AbstractClusteringCoefficientReranker<U>
Swap reranker that demotes the global clustering coefficient of the network.
See Also:
ClusteringCoefficient
  • Constructor Details

    • ClusteringCoefficientComplementReranker

      public ClusteringCoefficientComplementReranker​(double lambda, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph)
      Constructor
      Parameters:
      lambda - trade-off between the original and novelty score (clustering coefficient)
      cutoff - maximum length of the recommendation ranking
      norm - the normalization scheme.
      graph - the original graph.