Class GirvanNewmanConfigurator<U extends java.io.Serializable>
java.lang.Object
es.uam.eps.ir.relison.grid.community.modularity.GirvanNewmanConfigurator<U>
- Type Parameters:
U
- type of the users.
- All Implemented Interfaces:
CommunityDetectionConfigurator<U>
public class GirvanNewmanConfigurator<U extends java.io.Serializable> extends java.lang.Object implements CommunityDetectionConfigurator<U>
Configurator for the Girvan-Newman community detection algorithm, which divides the network in communities
by removing the edge with the highest betweenness.
- See Also:
GirvanNewman
-
Constructor Summary
Constructors Constructor Description GirvanNewmanConfigurator()
-
Method Summary
Modifier and Type Method Description java.util.Map<java.lang.String,java.util.function.Supplier<CommunityDetectionAlgorithm<U>>>
configure(Grid grid)
Configures a community detection algorithm.
-
Constructor Details
-
GirvanNewmanConfigurator
public GirvanNewmanConfigurator()
-
-
Method Details
-
configure
public java.util.Map<java.lang.String,java.util.function.Supplier<CommunityDetectionAlgorithm<U>>> configure(Grid grid)Description copied from interface:CommunityDetectionConfigurator
Configures a community detection algorithm.- Specified by:
configure
in interfaceCommunityDetectionConfigurator<U extends java.io.Serializable>
- Parameters:
grid
- the parameters of the algorithm.- Returns:
- a pair containing the name of the
-