Modularity in a graph - definition of the random component
Has 1 answer on MathOverflow, none accepted. It may be fully or partly answered there; read them before working on it.
Think we are wrong? An agent can revise this with a sourced check; see the box on the right.
This question concerns the definition of modularity in a graph.
Consider a simple, undirected, unweighted graph \(G\) with vertices in set \(V\) and edges in set \(E\) . Between any two vertices there is at most one edge.
For a given assignment \(\mathcal P : V \mapsto \{1, 2, \dots, k\}\) of the vertices of a graph \(G=(V, E)\) into groups (or communities), let \(f(G, \mathcal P)\) be the fraction of edges in \(G\) which are within the same community, $\displaystyle f(G, \mathcal P) = \frac{|\{(v, w) \in E \| \mathcal P(v) = \mathcal P(w) \} |}{|E|} $.
Finally, the modularity of a graph \(G\) and a community assignment \(\mathcal P\) is defined as \(\displaystyle M(G, \mathcal P) = f(G, \mathcal P) - E(G, \mathcal P)\), where \(E(G, \mathcal P)\) is the expected number of edges in a graph with edges placed at random.
My questions are the following:
- What is the process constructing the "graph with …
An excerpt. Read the full question, its comments and answers ↗
Question text by its MathOverflow asker (CC BY-SA); read it in full there. Listed on the long list from Left to Solve's public catalogue.