graph-theory

Graph

A graph is defined as a tuple of the sets of edges and the sets of vertices .

Density

Definition

Graph Density

The density of a graph is given by dividing the number of edges by the number of vertices.

Link to original

Handshaking Lemma

Definition

Handshaking Lemma

In a simple undirected graph , it holds that:

where is the degree of .

In a directed graph , it holds that:

Link to original

Connected Graph

Definition

Zusammenhängender Graph

Connected Graph

A graph is called connected if exists an edge sequence from all to all .

Or equivalently, a graph is called connected consists of exactly one connected component.

Strong Connectivity: A directed graph is called strongly connected if it is connected and respects the directions of the edges.

Weak Connectivity: A directed graph is called weakly connected if it is connect but does not respect the direction of the edges.

Link to original