Interface PairMetricGridSearch<U>
- Type Parameters:
U- Type of the users
- All Known Implementing Classes:
ClusteringCoefficientIncrementGridSearch,ComplementaryEmbedednessGridSearch,ComplementaryFOAFGridSearch,DistanceGridSearch,DistanceWithoutLinkGridSearch,EdgeBetweennessGridSearch,EdgeWeightGridSearch,EmbedednessGridSearch,ExpandedFOAFCountGridSearch,ExpandedFOAFGridSearch,FOAFGridSearch,GeodesicsGridSearch,PreferentialAttachmentGridSearch,ReciprocalShortestPathLengthGridSearch,ReciprocityRateGridSearch,ShrinkingASLGridSearch,ShrinkingASLNeighborsGridSearch,ShrinkingDiameterGridSearch,ShrinkingDiameterNeighborsGridSearch,WeaknessGridSearch,WeightedFOAFGridSearch,WeightedFOAFLogGridSearch
public interface PairMetricGridSearch<U>
Class for performing the grid search for a metric for a pair of nodes.
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,PairMetricFunction<U>>grid(Grid grid)Obtains the different metrics for pairs of nodes to compute in a grid.java.util.Map<java.lang.String,java.util.function.Supplier<PairMetric<U>>>grid(Grid grid, DistanceCalculator<U> distCalc)Obtains the different metrics for pairs of nodes to compute in a grid.
-
Method Details
-
grid
java.util.Map<java.lang.String,java.util.function.Supplier<PairMetric<U>>> grid(Grid grid, DistanceCalculator<U> distCalc)Obtains the different metrics for pairs of nodes to compute in a grid.- Parameters:
grid- the grid for the metricdistCalc- a distance calculator.- Returns:
- a map containing suppliers for the metrics, indexed by name.
-
grid
Obtains the different metrics for pairs of nodes to compute in a grid.- Parameters:
grid- the grid for the metric- Returns:
- a map containing suppliers for the metrics which depend on a distance calculator, indexed by name.
-