Class DegreeGiniGridSearch<U>
java.lang.Object
es.uam.eps.ir.relison.grid.sna.graph.DegreeGiniGridSearch<U>
- Type Parameters:
U
- type of the users
- All Implemented Interfaces:
GraphMetricGridSearch<U>
public class DegreeGiniGridSearch<U> extends java.lang.Object implements GraphMetricGridSearch<U>
Grid for the degree gini of the graph.
- See Also:
DegreeGini
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
ORIENT
Identifier for the degree selection -
Constructor Summary
Constructors Constructor Description DegreeGiniGridSearch()
-
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.
-
Field Details
-
ORIENT
private static final java.lang.String ORIENTIdentifier for the degree selection- See Also:
- Constant Field Values
-
-
Constructor Details
-
DegreeGiniGridSearch
public DegreeGiniGridSearch()
-
-
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.
-