Complex Networks

Centralities

Size :

Color :

Edge Width :

Repulsion :

Model :

Complex Networks are traditionally studied in the context of Graph theory, and identify important nodes and edges with the notions of centrality.

Local Centrality Measures

Local Centrality Measures are defined on a single vertex, and are used to identify the most important vertices in a network.

Global Centrality Measures

Global Centrality Measures are defined on the entire network.

Erdős–Rényi and Stochastic Block

Erdős–Rényi Model

A Erdős–Rényi model, is a random graph with $n$ vertices, and each pair of vertices are connected by an edges with probability $p$.

Let $G(n,p)$ denote the Erdős–Rényi random graph. Then:

Connection to Semicircle Law

Let $A(n,p)$ denote the (random) adjacency matrix of $G(n,p)$, the normalized version of $A(n,p)$ is defined by the following $$\underline{A(n,p)}:=\frac{A(n,p) - \E{[A(n,p)]} }{\sqrt{np(1-p)}}$$
p = 1/200

In the example, we are considering the adjacency matrix of $G(200,p)$. After "normalizing" the adjacency matrix, i.e. make the matrix entries mean $0$ and variance $1/n$. By the Semicircle Law that we discussed in an earlier page, the eigenvalues of the "normalized" matrix is expected to follow the semi-circle law for large $n$.

It is interesting to observe in the example, that the speed of convergence to the semi-circle depends not only on the size $n$ but also the parameter $p$. For a certain values of $p$, the convergence is happening at much smaller $n$.

Stoachastic Block Model

We can generalize the Erdős–Rényi model by considering a graph with $n$ vertices, and $2$ blocks, where each block has $n/2$ vertices, and each pair of vertices in the same block are connected with probability $p$, and each pair of vertices in different blocks are connected with probability $q$. We will denote this model by $G(n,p,q)$, and its adjacency matrix by $A(n,p,q)$. Supposed the vertices are ordered by blocks, i.e. the first $n/2$ vertices are in the first block, and the last $n/2$ vertices are in the second block. Then $$ \E{A(n,p,q)} = \begin{bmatrix} P & Q \\ Q & P \end{bmatrix} $$ where $P$ is the $n/2 \times n/2$ matrix with all entries $p$, and $Q$ is the $n/2 \times n/2$ matrix with all entries $q$.

Random Regular Graph

Generating Random Regular Graph is not a trivial task. A commonly used algorithm is provided in the paper, Generating random regular graphs quickly.
  1. Start with $n d$ points $\{1,2, \ldots, n d\}$ (nd even) in $n$ groups. Put $U=\{1,2, \ldots, n d\}$.

  2. Repeat the following until no suitable pair can be found:

    $\qquad$ Choose two random points $i$ and $j$ in $U$, and if they are suitable, pair $i$ with $j$ and delete $i$ and $j$ from $U$.

    A pair is suitable if they lie in different groups and no currently existing pair contains points in the same two groups.

  3. Create a graph $G$ with edge from vertex $r$ to vertex $s$ if and only if there is a pair containing points in the $r$ 'th and $s$ 'th groups. If $G$ is $d$-regular, output it, otherwise return to Step 1 .