













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!














2
(^) Graph G = (V,E) ( simple, Undirected)
(^) Set V of vertices ( nodes ): A non-empty finite set
(^) Set E of edges: E V (^2) , 2-element subsets of V.
(^) Elements of E are unordered pairs {v,w} where v,w
(^) So a graph is an ordered pair of two sets V and E, such
that E V^2.
(^) Variations: Directed graph, ( E V V)
(^) Weighted graph
(^) W: ER, c: V R
4
5
Kruskal’s Algorithm to find MST
INITIAL ITERATION
FINAL ITERATION
10
power outlet
or light
11
MST Applications
13
14
Each subject is marked as a node and there
is a edge between all those subjects(nodes)
which clash with each other.
The coloring of the graph obtained above
give us time-tabeling as each color
represents a time slot.
Application of graph coloring in lecture scheduling
Dijkstra’s shortest path algorithm
19
20
(^) A drilling head drills several, say n, holes in a plate ( Spare
parts of automobiles0.
The drilling head moves from one point to another and drills
holes.
(^) How to minimize the head movement time so that
productivity increases?
(^) Model: G=(V,E), V= the n holes. E= ij, for every hole i to
every hole j. W(ij)=actual distance travel by the drilling head.
Solution: TSP- find an ordering of vertices, a tour, having
minimum cost.