Class LouvainConfigurator<U extends java.io.Serializable>
java.lang.Object
es.uam.eps.ir.relison.grid.community.modularity.LouvainConfigurator<U>
- Type Parameters:
U
- type of the users.
- All Implemented Interfaces:
CommunityDetectionConfigurator<U>
public class LouvainConfigurator<U extends java.io.Serializable> extends java.lang.Object implements CommunityDetectionConfigurator<U>
Configurator for the Louvain community detection algorithm.
- See Also:
Louvain
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
THRESHOLD
The parameter identifier for the threshold value. -
Constructor Summary
Constructors Constructor Description LouvainConfigurator()
-
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.
-
Field Details
-
THRESHOLD
private static final java.lang.String THRESHOLDThe parameter identifier for the threshold value.- See Also:
- Constant Field Values
-
-
Constructor Details
-
LouvainConfigurator
public LouvainConfigurator()
-
-
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
-