Intro
Graph G=(V,E)
E annotated with weights. If G unweighted, all weights are 1.
Vertex properties
Degree of v:
Measure size of
Associated objects
Special vertex sets
Node cover of G=(V,E): subset of V which touches all e in E.
Proper vertex coloring; chromatic number.
Independent set of verteces: don’t share edge: a clique in
Walks
A sequence of edges
A walk may have a cycle. If it does not have a cycle, you have a path.
Also see random walks.
Alternating walks are defined and studied in combinatorial optimization problems over graphs; in these sequences even and odd edges are colored differently.
Cut
k-way cut:
Weight of a cut
Weight of a cut is the sum of weights of edges in the cutset.
Minimum 2-way cut is a cut with the minimum weight. This is useful in partitioning nodes in a graph.
Subgraphs
A general subgraph: G’=(V’, E’). Subgraph induced by
Spanning trees
Spannning tree. MST spanning a certain node set N: Aka Steiner tree. MST spanning with support over node set N: Aka Group Steiner tree.
Subtypes
Multigraphs: multiple edges allowed.
Tree
G sans cycle. Forest F: set of trees.
Biconnected graph
2 paths between any node pair.
Based on degree
d-regular G:
Perfect graph G
Chromatic number = size of the largest clique in G.
A graph is perfect iff its complement is perfect.
Bipartite graph
E = cutset. Complete bipartite graph: All v in A has edge to all u in B. Complete bipartite graph
Chordal graph G
Aka triangulated graph. Every cycle in G has a chord. G has a junction tree iff it is chordal.
Planar graphs
(Kuratowski) G planar iff
Directred graph, networks
Digraph or directed graph. Networks: digraph with edge weights.
Directed acyclic graphs (DAG)
Very useful in designing algorithms: can do recursion easily.
Topological numbering t of nodes
Number nodes so that if there is a path from u to v, then
Singly connected directed graph
Useful in probabilistic graphical models.
A tree underlies the graph: only 1 undirected path between any node pair.
Generalizations
Hypergraphs
Edges connect k-sets of verices, not just pairs.
Properties
Hop plot
For h, let g(h) be number of node pairs with path
Diameter
Diameter of G. q effective diameter: q fraction of
Single source (s) shortest paths
Consider a weighted graph with weight
One can use a bottom-up programming approach. (Dijkstra) Start with current node
Define
Do
Time:
Associated matreces
Edge incidence matrix J (
Vertex incidence/ adjacency matrix W: presence of edge
Connectivity matrix
Degree matrix: D = diag(deg(i)).
Graph Laplacian of no-self-loop undirected graph
L = (D-W).
+ve semidefiniteness
L is symmetric, +ve semidefinite:
Smoothness of vectors from quadratic form
Eigenvectors
If G has c connected components:
Smoothness of ev
Take ev x. Then
Smoothening functions
Consider the subspace spanned by the p bottom (smooth) ev. Any function on V, ie a
Applications
This property is useful when using ev x for classification of nodes - one doesn’t want neighboring nodes to have disparate values in x. This is useful in both spectral clustering and label propogation in semisupervised learning.
Normalized graph Laplacian
Take
Normalized adjacency matrix has norm 1.
As
Another way to see this:
Quadratic form: Normalized smoothness measure
Expanders
A sparse graph with high connectivity properties. Connectivity quantified as edge expansion or vertex expansion. Let
Edge expansion of G
Aka isoparametric number. \
vertex expansion of G
Other Examples
Most graphs are expanders.
Random graphs
Common Varieties:
G(n,p)
A static model: every edge is present or absent independent of other edges. p controls edge density. As