Class CommunityDetection
java.lang.Object
org.episteme.core.mathematics.discrete.CommunityDetection
Provides algorithms for detecting communities in graphs.
Refactored to use the technical backend provider pattern.
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondetectCommunities(Graph<V> graph, int maxIterations) Detects communities using the best available provider.
-
Constructor Details
-
CommunityDetection
public CommunityDetection()
-
-
Method Details
-
detectCommunities
Detects communities using the best available provider.- Type Parameters:
V- the vertex type- Parameters:
graph- the graph to analyzemaxIterations- maximum number of iterations- Returns:
- a map from vertex to community ID
-