Class ReciprocalDiameterGridSearch<U>
java.lang.Object
es.uam.eps.ir.relison.grid.sna.graph.ReciprocalDiameterGridSearch<U>
- Type Parameters:
U
- type of the users
- All Implemented Interfaces:
GraphMetricGridSearch<U>
public class ReciprocalDiameterGridSearch<U> extends java.lang.Object implements GraphMetricGridSearch<U>
Grid for the reciprocal diameter of the graph.
- See Also:
ReciprocalDiameter
-
Constructor Summary
Constructors Constructor Description ReciprocalDiameterGridSearch()
-
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
-
ReciprocalDiameterGridSearch
public ReciprocalDiameterGridSearch()
-
-
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:GraphMetricGridSearch
Obtains the different vertex metrics to compute in a grid.- Specified by:
grid
in interfaceGraphMetricGridSearch<U>
- Parameters:
grid
- the grid for the metric.distCalc
- a distance calculator.- Returns:
- the grid parameters.
-
grid
Description copied from interface:GraphMetricGridSearch
Obtains the different global graph metrics to compute in a grid.- Specified by:
grid
in interfaceGraphMetricGridSearch<U>
- Parameters:
grid
- the grid for the metric.- Returns:
- the grid parameters.
-