Class AverageReciprocalShortestPathLengthGridSearch<U>
java.lang.Object
es.uam.eps.ir.relison.grid.sna.graph.AverageReciprocalShortestPathLengthGridSearch<U>
- Type Parameters:
U- type of the users.
- All Implemented Interfaces:
GraphMetricGridSearch<U>
public class AverageReciprocalShortestPathLengthGridSearch<U> extends java.lang.Object implements GraphMetricGridSearch<U>
Grid search for finding the average reciprocal shortest path length (ARSL) of the graph
-
Constructor Summary
Constructors Constructor Description AverageReciprocalShortestPathLengthGridSearch() -
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,GraphMetricFunction<U>>grid(Grid grid)Obtains the different global graph metrics to compute in a grid.java.util.Map<java.lang.String,java.util.function.Supplier<GraphMetric<U>>>grid(Grid grid, DistanceCalculator<U> distCalc)Obtains the different vertex metrics to compute in a grid.
-
Constructor Details
-
AverageReciprocalShortestPathLengthGridSearch
public AverageReciprocalShortestPathLengthGridSearch()
-
-
Method Details
-
grid
public java.util.Map<java.lang.String,java.util.function.Supplier<GraphMetric<U>>> grid(Grid grid, DistanceCalculator<U> distCalc)Description copied from interface:GraphMetricGridSearchObtains the different vertex metrics to compute in a grid.- Specified by:
gridin interfaceGraphMetricGridSearch<U>- Parameters:
grid- the grid for the metric.distCalc- a distance calculator.- Returns:
- the grid parameters.
-
grid
Description copied from interface:GraphMetricGridSearchObtains the different global graph metrics to compute in a grid.- Specified by:
gridin interfaceGraphMetricGridSearch<U>- Parameters:
grid- the grid for the metric.- Returns:
- the grid parameters.
-