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

public class WeaknessReranker<U>
extends AbstractNeighborOverlapReranker<U>
Swap reranker for maximizing the average weakness of the graph, i.e. for minimizing the average embeddedness of the network.
  • Constructor Details

    • WeaknessReranker

      public WeaknessReranker​(double lambda, int cutOff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph)
      Constructor
      Parameters:
      cutOff - maximum number of edges to consider
      lambda - trade-off between the average embeddedness and the original score
      norm - normalization strategy.
      graph - the original graph