Interface VertexMetricGridSearch<U>

Type Parameters:
U - Type of the users
All Known Implementing Classes:
ClosenessGridSearch, ComplementaryDegreeGridSearch, ComplementaryInverseDegreeGridSearch, ComplementaryLocalClusteringCoefficientGridSearch, ComplementaryPageRankGridSearch, CorenessGridSearch, DegreeGridSearch, EccentricityGridSearch, EigenvectorCentralityGridSearch, FreeDiscoveryGridSearch, HarmonicCentralityGridSearch, HITSGridSearch, InverseDegreeGridSearch, KatzCentralityGridSearch, LocalClusteringCoefficientGridSearch, LocalReciprocityRateGridSearch, NodeBetweennessGridSearch, PageRankGridSearch, VertexLengthGridSearch

public interface VertexMetricGridSearch<U>
Class for performing the grid search for a given algorithm.
  • Method Summary

    Modifier and Type Method Description
    java.util.Map<java.lang.String,​VertexMetricFunction<U>> grid​(Grid grid)
    Obtains the different vertex metrics to compute in a grid.
    java.util.Map<java.lang.String,​java.util.function.Supplier<VertexMetric<U>>> grid​(Grid grid, DistanceCalculator<U> distCalc)
    Obtains the different vertex metrics to compute in a grid.
  • Method Details

    • grid

      java.util.Map<java.lang.String,​java.util.function.Supplier<VertexMetric<U>>> grid​(Grid grid, DistanceCalculator<U> distCalc)
      Obtains the different vertex metrics to compute in a grid.
      Parameters:
      grid - The grid for the algorithm
      distCalc - A distance calculator.
      Returns:
      the grid parameters.
    • grid

      java.util.Map<java.lang.String,​VertexMetricFunction<U>> grid​(Grid grid)
      Obtains the different vertex metrics to compute in a grid.
      Parameters:
      grid - The grid for the algorithm
      Returns:
      the grid parameters.