Class BalancedFastGreedyConfigurator<U extends java.io.Serializable>
java.lang.Object
es.uam.eps.ir.relison.grid.community.modularity.balanced.BalancedFastGreedyConfigurator<U>
- Type Parameters:
U
- type of the users
- All Implemented Interfaces:
CommunityDetectionConfigurator<U>
public class BalancedFastGreedyConfigurator<U extends java.io.Serializable> extends java.lang.Object implements CommunityDetectionConfigurator<U>
Configurator for the balanced version of the FastGreedy community detection algorithm.
It fixes the maximum community size.
- See Also:
BalancedFastGreedy
-
Field Summary
Fields Modifier and Type Field Description private static java.lang.String
COMMSIZE
Identifier for the maximum community size -
Constructor Summary
Constructors Constructor Description BalancedFastGreedyConfigurator()
-
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
-
COMMSIZE
private static final java.lang.String COMMSIZEIdentifier for the maximum community size- See Also:
- Constant Field Values
-
-
Constructor Details
-
BalancedFastGreedyConfigurator
public BalancedFastGreedyConfigurator()
-
-
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
-