Uses of Record Class
cloud.opencode.base.graph.algorithm.CommunityDetectionUtil.CommunityResult
Packages that use CommunityDetectionUtil.CommunityResult
-
Uses of CommunityDetectionUtil.CommunityResult in cloud.opencode.base.graph.algorithm
Methods in cloud.opencode.base.graph.algorithm that return CommunityDetectionUtil.CommunityResultModifier and TypeMethodDescriptionstatic <V> CommunityDetectionUtil.CommunityResult<V> CommunityDetectionUtil.labelPropagation(Graph<V> graph) Detects communities using Label Propagation algorithm.static <V> CommunityDetectionUtil.CommunityResult<V> CommunityDetectionUtil.labelPropagation(Graph<V> graph, int maxIterations) Detects communities using Label Propagation with max iterations.static <V> CommunityDetectionUtil.CommunityResult<V> Detects communities using the Louvain algorithm.static <V> CommunityDetectionUtil.CommunityResult<V> Detects communities using the Louvain algorithm with parameters.Methods in cloud.opencode.base.graph.algorithm with parameters of type CommunityDetectionUtil.CommunityResultModifier and TypeMethodDescriptionstatic <V> Set<V> CommunityDetectionUtil.getCommunity(CommunityDetectionUtil.CommunityResult<V> result, V vertex) Gets the community containing a specific vertex.CommunityDetectionUtil.getSortedBySize(CommunityDetectionUtil.CommunityResult<V> result) Gets communities sorted by size (largest first).static <V> booleanCommunityDetectionUtil.inSameCommunity(CommunityDetectionUtil.CommunityResult<V> result, V v1, V v2) Checks if two vertices are in the same community.