Академический Документы
Профессиональный Документы
Культура Документы
Graphs/Networks
Graphs
A graph is just a diagram made up of dots
(singular is vertex)
The lines are called edges or arcs
Definitions 1
Definitions 2
A walk is a sequence of
no edge is repeated.
Definitions 3
A path is a trail in which no vertex is repeated.
Definitions 4
A cycle is a closed path if the end of the last
Definitions 5
A tree is a simple connected graph with no
cycles.
A tree
Not trees
Definitions 6
A Digraph (Directed Graph) is a graph in
Definitions 7
An incidence matrix is a way of representing the
Definitions 8
Two graphs are Isomorphic if one can be stretched, twisted or
Definitions 9
A planar graph is one which can be drawn without
Definitions 10
A bipartite graph is one in which the vertices
Question 1
X = { London, Oxford, Birmingham, Cambridge, Leicester}
Let X x X be the set of all possible pairs from the set X.
Question 1
Question 2
Each node represents a section of land.
Eulerian
A graph is called Eulerian or traversable if each can
Networks
A Network is a weighted graph, which just means
Networks
length.
Consider 4 houses in a Network shown in the diagram below. The
weight on each arc represents the distance between each house.
An Electricity company
to D.
So 4 + 3 + 3 = 10, there is no shorter way of supplying every house .
Algorithm`s
The previous example was a simple one and
Kruskal`s Algorithm
There are 3 steps to follow in Kruskal`s Algorithm.
Step 1 Select the shortest arc in the
Step 2
Step 3
network.
Select the shortest arc from those
which are remaining. Ensure that
you do not create a cycle. If you do
ignore and move on to the next
shortest arc.
If all the vertices are connected then stop.
If not return to step 2.
Example
Consider the Network
below.
in increasing order.
smallest, which is
DE.
Question Ex 3a pg 66 q1
Find the minimal spanning tree and associated
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q1
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4
Solution Ex 3a pg 66 q4