Class NumCommunitiesGridSearch<U>
java.lang.Object
es.uam.eps.ir.relison.grid.sna.comm.global.NumCommunitiesGridSearch<U>
- Type Parameters:
U
- type of the users
- All Implemented Interfaces:
GlobalCommunityMetricGridSearch<U>
public class NumCommunitiesGridSearch<U> extends java.lang.Object implements GlobalCommunityMetricGridSearch<U>
Grid search for the metric that finds the number of communities in a graph.
- See Also:
NumCommunities
-
Constructor Summary
Constructors Constructor Description NumCommunitiesGridSearch()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.function.Supplier<CommunityMetric<U>>>
grid(Grid grid)
Obtains the different global community metrics metrics to compute in a grid.
-
Constructor Details
-
NumCommunitiesGridSearch
public NumCommunitiesGridSearch()
-
-
Method Details
-
grid
public java.util.Map<java.lang.String,java.util.function.Supplier<CommunityMetric<U>>> grid(Grid grid)Description copied from interface:GlobalCommunityMetricGridSearch
Obtains the different global community metrics metrics to compute in a grid.- Specified by:
grid
in interfaceGlobalCommunityMetricGridSearch<U>
- Parameters:
grid
- The grid for the metric- Returns:
- the grid parameters.
-