













Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Community
Ask the community for help and clear up your study doubts
Discover the best universities in your country according to Docsity users
Free resources
Download our free guides on studying techniques, anxiety management strategies, and thesis advice from Docsity tutors
An introduction to graph theory, explaining the concept of graphs as an ordered pair of vertices and edges, variations such as directed and weighted graphs, and applications like minimum spanning trees and graph coloring. The document also includes Kruskal's algorithm for finding minimum spanning trees and an explanation of graph coloring and its application in lecture scheduling.
Typology: Exercises
1 / 21
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.