Class ComplementaryLocalClusteringCoefficientGridSearch<U>
java.lang.Object
es.uam.eps.ir.relison.grid.sna.vertex.ComplementaryLocalClusteringCoefficientGridSearch<U>
- Type Parameters:
U
- type of the users.
- All Implemented Interfaces:
VertexMetricGridSearch<U>
public class ComplementaryLocalClusteringCoefficientGridSearch<U> extends java.lang.Object implements VertexMetricGridSearch<U>
Grid for the local clustering coefficient of a node in the complementary graph.
- See Also:
ComplementaryLocalClusteringCoefficient
-
Field Summary
-
Constructor Summary
Constructors Constructor Description ComplementaryLocalClusteringCoefficientGridSearch()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,VertexMetricFunction<U>>
grid(Grid grid)
Obtains the different vertex metrics to compute in a grid.java.util.Map<java.lang.String,java.util.function.Supplier<VertexMetric<U>>>
grid(Grid grid, DistanceCalculator<U> distCalc)
Obtains the different vertex metrics to compute in a grid.
-
Field Details
-
VSEL
private static final java.lang.String VSELIdentifier for the first neighbor of the target user.- See Also:
- Constant Field Values
-
WSEL
private static final java.lang.String WSELIdentifier for the second neighbor of the target user.- See Also:
- Constant Field Values
-
-
Constructor Details
-
ComplementaryLocalClusteringCoefficientGridSearch
public ComplementaryLocalClusteringCoefficientGridSearch()
-
-
Method Details
-
grid
public java.util.Map<java.lang.String,java.util.function.Supplier<VertexMetric<U>>> grid(Grid grid, DistanceCalculator<U> distCalc)Description copied from interface:VertexMetricGridSearch
Obtains the different vertex metrics to compute in a grid.- Specified by:
grid
in interfaceVertexMetricGridSearch<U>
- Parameters:
grid
- The grid for the algorithmdistCalc
- A distance calculator.- Returns:
- the grid parameters.
-
grid
Description copied from interface:VertexMetricGridSearch
Obtains the different vertex metrics to compute in a grid.- Specified by:
grid
in interfaceVertexMetricGridSearch<U>
- Parameters:
grid
- The grid for the algorithm- Returns:
- the grid parameters.
-