cdlib.algorithms.dcs¶
- cdlib.algorithms.dcs(g_original: object) NodeClustering ¶
Divide and Conquer Strategy
Supported Graph Types
Undirected
Directed
Weighted
Yes
No
Yes
- Parameters:
g_original – a networkx/igraph object
- Returns:
NodeClustering object
- Example:
>>> from cdlib import algorithms >>> import networkx as nx >>> G = nx.karate_club_graph() >>> coms = algorithms.dcs(G)
- References:
Syed Agha Muhammad and Kristof Van Laerhoven. “DCS: Divide and Conquer Strategy For Detecting Overlapping Communities in Social Graphs”. https://bit.ly/33m7t3r
Note
Reference implementation: https://github.com/SyedAgha/Divide-and-Conquer/tree/master/DCS_code_and_paper