A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html below:

CommunityModularity—Wolfram Documentation

WOLFRAM Consulting & Solutions

We deliver solutions for the AI era—combining symbolic computation, data-driven insights and deep technical expertise

WolframConsulting.com

As of Version 10, all the functionality of the GraphUtilities package is built into the Wolfram System. »

CommunityModularity[g,partition]

gives the community modularity of a partition.

CommunityModularity[g,assignment]

gives the community modularity of an assignment.

Examplesopen all close all Basic Examples  (2)

This defines a small graph:

This gives the community modularity, assuming a partition {{1,2,3},{4,5,6}}:

CommunityModularity has been superseded by GraphAssortativity:

Options  (1) Weighted  (1)

This defines a graph with edge weights:

The community modularity of partition {{1,2},{3,4}}, ignoring edge weights:

The community modularity of partition {{1,2},{3,4}}, taking into account edge weights:

When taking into account edge weights, partition {{1,4},{2,3}} has higher community modularity:

Wolfram Research (2007), CommunityModularity, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html. Text

Wolfram Research (2007), CommunityModularity, Wolfram Language function, https://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html.

CMS

Wolfram Language. 2007. "CommunityModularity." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html.

APA

Wolfram Language. (2007). CommunityModularity. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html

BibTeX

@misc{reference.wolfram_2025_communitymodularity, author="Wolfram Research", title="{CommunityModularity}", year="2007", howpublished="\url{https://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html}", note=[Accessed: 17-August-2025]}

BibLaTeX

@online{reference.wolfram_2025_communitymodularity, organization={Wolfram Research}, title={CommunityModularity}, year={2007}, url={https://reference.wolfram.com/language/GraphUtilities/ref/CommunityModularity.html}, note=[Accessed: 17-August-2025]}


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4