Class CommunityGenerator.Builder

    • Method Detail

      • crossCommunityPercentage

        public CommunityGenerator.Builder crossCommunityPercentage​(double percentage)
        Sets the percentage of edges that cross a community, i.e. connect a vertex to a vertex in another community. The lower this value, the higher the modularity of the generated communities.
        Parameters:
        percentage - Percentage of community crossing edges. Must be in [0,1]