Class CommunityDetection

java.lang.Object
org.episteme.core.mathematics.discrete.CommunityDetection

public class CommunityDetection extends Object
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 Details

    • CommunityDetection

      public CommunityDetection()
  • Method Details

    • detectCommunities

      public static <V> Map<V,Integer> detectCommunities(Graph<V> graph, int maxIterations)
      Detects communities using the best available provider.
      Type Parameters:
      V - the vertex type
      Parameters:
      graph - the graph to analyze
      maxIterations - maximum number of iterations
      Returns:
      a map from vertex to community ID