Interface RerankerGridSearch<U>

Type Parameters:
U - type of the users
All Known Implementing Classes:
AlternativeSemiCompleteCommunityEdgeGiniRerankerGridSearch, AlternativeSemiCompleteCommunityOuterEdgeGiniRerankerGridSearch, AverageEmbeddednessRerankerGridSearch, AverageWeaknessRerankerGridSearch, ClusteringCoefficientComplementRerankerGridSearch, ClusteringCoefficientRerankerGridSearch, CompleteCommunityDegreeGiniRerankerGridSearch, CompleteCommunityEdgeGiniRerankerGridSearch, CompleteCommunityOuterDegreeGiniRerankerGridSearch, CompleteCommunityOuterEdgeGiniRerankerGridSearch, DegreeGiniComplementRerankerGridSearch, HeuristicAverageEmbeddednessRerankerGridSearch, HeuristicAverageWeaknessRerankerGridSearch, InterCommunityDegreeGiniRerankerGridSearch, InterCommunityEdgeGiniRerankerGridSearch, InterCommunityOuterDegreeGiniRerankerGridSearch, InterCommunityOuterEdgeGiniRerankerGridSearch, RandomRerankerGridSearch, SemiCompleteCommunityEdgeGiniRerankerGridSearch, SemiCompleteCommunityOuterEdgeGiniRerankerGridSearch, SizeNormCompleteCommunityDegreeGiniRerankerGridSearch, SizeNormCompleteCommunityEdgeGiniRerankerGridSearch, SizeNormCompleteCommunityOuterDegreeGiniRerankerGridSearch, SizeNormCompleteCommunityOuterEdgeGiniRerankerGridSearch, SizeNormInterCommunityDegreeGiniRerankerGridSearch, SizeNormInterCommunityEdgeGiniRerankerGridSearch, SizeNormInterCommunityOuterDegreeGiniRerankerGridSearch, SizeNormInterCommunityOuterEdgeGiniRerankerGridSearch, SizeNormSemiCompleteCommunityEdgeGiniRerankerGridSearch, SizeNormSemiCompleteCommunityOuterEdgeGiniRerankerGridSearch, StrongTiesRerankerGridSearch, WeakTiesRerankerGridSearch

public interface RerankerGridSearch<U>
Interface for obtaining the different configurations of a given global reranking algorithm.
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<java.lang.String,​GlobalRerankerFunction<U>> grid​(Grid grid)
    Obtains the different reranking approaches given a grid.
    java.util.Map<java.lang.String,​java.util.function.Supplier<GlobalReranker<U,​U>>> grid​(Grid grid, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph, Communities<U> comms)
    Obtains the different reranking approaches given a grid.
  • Method Details

    • grid

      java.util.Map<java.lang.String,​java.util.function.Supplier<GlobalReranker<U,​U>>> grid​(Grid grid, int cutoff, java.util.function.Supplier<Normalizer<U>> norm, Graph<U> graph, Communities<U> comms)
      Obtains the different reranking approaches given a grid.
      Parameters:
      grid - the parameter grid of the algorithm.
      cutoff - the size of the definitive ranking.
      norm - suppliers for the normalization scheme.
      graph - the training graph.
      comms - the community partition for the training graph.
      Returns:
      a map containing suppliers for the different configurations of the reranking approach.
    • grid

      java.util.Map<java.lang.String,​GlobalRerankerFunction<U>> grid​(Grid grid)
      Obtains the different reranking approaches given a grid.
      Parameters:
      grid - the parameter grid for the algorithm.
      Returns:
      a map containing suppliers for the different configurations of the reranking approach.