Class SemiCompleteEdgeGiniGridSearch<U>
java.lang.Object
es.uam.eps.ir.relison.grid.sna.graph.SemiCompleteEdgeGiniGridSearch<U>
- Type Parameters:
U
- type of the users
- All Implemented Interfaces:
GraphMetricGridSearch<U>
public class SemiCompleteEdgeGiniGridSearch<U> extends java.lang.Object implements GraphMetricGridSearch<U>
Grid for the edge Gini between all pairs of nodes in a graph, considering selfloops in a separate
group.
- See Also:
SemiCompleteEdgeGini
-
Constructor Summary
Constructors Constructor Description SemiCompleteEdgeGiniGridSearch()
-
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
-
SemiCompleteEdgeGiniGridSearch
public SemiCompleteEdgeGiniGridSearch()
-
-
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.
-