Table of Contents

Linear Algebra - Graph

About

graph in linear algebra

Graph

Minimum Spanning Forest

Graph Analysis - Minimum spanning forest

Formulation

Formulating GF(2) vector: subset {Pembroke, Main, Gregorian} is represented by:

Pembroke Athletic Bio-Med Main Keeney Wriston Gregorian
1 1 1
Edge Vector
Pembroke Athletic Bio-Med Main Keeney Wriston Gregorian
{Pembroke, Athletic} 1 1
{Pembroke, Bio-Med} 1 1
{Athletic, Bio-Med} 1 1
{Main, Keeney} 1 1
{Main, Wriston} 1 1
{Keeney, Wriston} 1 1
{Keeney, Gregorian} 1 1
{Wriston, Gregorian} 1 1
{Main, Keeney}, {Keeney, Gregorian}, and {Main, Gregorian}

{Athletic, Bio-Med } or {Bio-Med, Main}

Algorithm

def Grow(G)
    S := 0; 
    consider the edges in increasing order
    for each edge e:
        if e’s endpoints are not yet connected
             add e to S.
def Grow(V)
    S = 0; 
    repeat while possible:
        find a vector v in V not in Span S,
        and put it in S.

The Grow algorithm for MSF is a specialization of the Grow algorithm for vectors. Same for the Shrink algorithms.

Basis

One kind of basis in a graph G: a set S of edges forming a spanning forest.

A basis for a graph is a spanning forest. Unique Representation shows that, for each edge xy in the graph,