SlideShare a Scribd company logo
1 of 34
DISCRETE STRUCTURE
GRAPH 
TERMINOLOGIES 
& 
SPECIAL TYPE 
GRAPHS
TYPES OF GRAPHS 
Undirected Graphs 
Directed Graphs 
Special Simple Graphs 
Special Simple Graphs
UNDIRECTED GRAPHS 
The graph in which u and v(vertices) 
are endpoints of an edge of graph G is 
called an undirected graph G. 
U V 
LOOP
DEGREE 
The number of edges for which vertex 
is an endpoint. 
The degree of a vertex v is denoted by 
deg(v).
DEGREE 
If deg(v) = 0, v is called isolated. 
If deg(v) = 1, v is called pendant.
THE HANDSHAKING THEOREM 
Let G = (V, E) be an undirected graph 
with E edges. 
Then 
2|E| = vV deg(v) 
Note that 
This applies if even multiple edges and 
loops are present.
EXAMPLE 
How many edges are there in a graph 
with 10 vertices each of degree 5? 
o vV deg(v) = 6·10 = 60 
o 2E= vV deg(v) =60 
o E=30
EXAMPLE 
How many edges are there in a graph 
with 9 vertices each of degree 5? 
o vV deg(v) =5 · 9 = 45 
o 2E= vV deg(v) =45 
o 2E=45 
o E=22.5 
o Which is not possible.
DIRCTED GRAPHS 
When (u, v) is an edge of the graph G 
with directed edges. 
The vertex u is called the initial vertex 
of (u, v), and v is called the terminal or 
end vertex of (u, v). 
The initial vertex and terminal vertex of 
a loop are the same.
DEGREE 
The in degree of a vertex v, denoted 
deg−(v) is the number of edges which 
terminate at v. 
Similarly, the out degree of v, denoted 
deg+(v), is the number of edges which 
initiate at v. 
vV deg- (v) = vV deg+ (v)= |E|
EXAMPLE 
• Find the in-degree and out-degree of 
each vertex in the graph G with 
directed edges. 
The Directed Graph G. 12
EXAMPLE 
The in-degrees in G are 
deg−(a) = 2 deg−(b) = 2 
deg−(c) = 3 deg−(d) = 2 
deg−(e) = 3 deg−(f ) = 0 
The out-degrees in G are 
deg+(a) = 4 deg+(b) = 1 
deg+(c) = 2 deg+(d) = 2 
deg+(e) = 3 deg+(f ) = 0
SOME SPECIAL SIMPLE GRAPHS 
There are several classes of simple graphs. 
14 
Complete graphs 
Cycles 
Wheels 
n-Cubes 
Bipartite Graphs 
New Graphs from Old
COMPLETE GRAPHS 
The complete graph on n vertices, 
denoted by Kn, is the simple graph that 
contains exactly one edge between 
each pair of distinct vertices. 
The Graphs Kn for 1≦ n ≦6.
COMPLETE GRAPHS 
K5 & K6 is important because it is the 
simplest non-planar graph. 
It cannot be drawn in a plane with 
nonintersecting edges.
CYCLE 
The cycle Cn, n  3, consists of n 
vertices v1, v2, . . ., vn and edges {v1, v2}, 
{v2, v3 } ,. . . , {vn-1, vn} , and {vn , v1}. The 
cycles C3, C4, C5, and C6 are displayed 
below. 
The Cycles C3, C4, C5, and C6.
WHEEL 
We obtain the wheel Wn when we add 
an additional vertex to the cycle Cn, for 
n  3, and connect this new vertex to 
each of the n vertices in Cn, by new 
edges. 
The Wheels W3, W4, W5, and W6. 18
N-CUBES 
Qn is the graph with 2n vertices 
representing bit strings of length n. 
An edge exists between two vertices 
that differ by one bit position. 
19
EXAMPLE 
A common way to connect processors 
in parallel machines. 
Intel Hypercube.
EXAMPLE 
The n-cube Qn for n = 1, 2, and 3. 
21
BIPARTITE GRAPH 
A simple graph G is called bipartite if 
its vertex set V and be partitioned into 
two disjoint sets V1 and V2 such that 
every edge in the graph connects a 
vertex in V1 and a vertex in V2 . 
When this condition holds, we call the 
pair (V1 , V2 ) a bipartition of the vertex 
set V.
BIPARTITE GRAPH 
 A Star network is a K(1,n) bipartite 
graph. 
 V1(n=ODD) 
 V2(n=EVEN)
BIPARTITE GRAPH 
V1={v1,v3,v5} ; V1={v2,v4,v6} 
This is the graph of Hexagonal.
BIPARTITE GRAPH
NEW GRAPHS FROM OLD 
A sub-graph of a graph G= (V, E) is a 
graph H =(W, F), where W  V and F  E. 
A sub-graph H of G is a proper sub-graph 
of G if H  G . 
26
NEW GRAPHS FROM OLD 
The graph G shown below is a sub-graph 
of K5. 
A Sub-graph of K5. 
27
NEW GRAPHS FROM OLD 
The union of two simple graphs 
G1= (V1, E1) & G2= (V2, E2) 
is the simple graph with vertex set 
V1  V2 and edge set E1  E2 . 
The union of G1 and G2 is denoted by 
G1  G2 . 
28
NEW GRAPHS FROM OLD 
 The Simple Graphs G1 and G2 
 Their Union G1∪G2. 
29
APPLICATION OF SPYCIAL TYPES OF GRAPHS 
Suppose that there are m employees in 
a group and j different jobs that need to 
be done where m  j. Each employee is 
trained to do one or more of these j 
jobs. We can use a graph to model 
employee capabilities. We represent 
each employee by a vertex and each 
job by a vertex. For each employee, we 
include an edge from the vertex 
representing that employee to the 
vertices representing all jobs that the 
employee has been trained to do. 
30
APPLICATION OF SPYCIAL TYPES OF GRAPHS 
Note that the vertex set of this graph 
can be partitioned into two disjoint sets, 
the set of vertices representing 
employees and the set of vertices 
representing jobs, and each edge 
connects a vertex representing an 
employee to a vertex representing a job. 
Consequently, this graph is bipartite.
APPLICATION OF SPYCIAL TYPES OF GRAPHS 
Modeling the Jobs for Which Employees Have Been Trained. 
To complete the project, we must 
assign jobs to the employees so that 
every job has an employee assigned to 
it and no employee is assigned more 
than one job. 
32
Discrete Graph Structures
Discrete Graph Structures

More Related Content

What's hot

Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data StructureAnuj Modi
 
Spanning trees & applications
Spanning trees & applicationsSpanning trees & applications
Spanning trees & applicationsTech_MX
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphsTech_MX
 
Graphs (Models & Terminology)
Graphs (Models & Terminology)Graphs (Models & Terminology)
Graphs (Models & Terminology)zunaira saleem
 
Cs6702 graph theory and applications 2 marks questions and answers
Cs6702 graph theory and applications 2 marks questions and answersCs6702 graph theory and applications 2 marks questions and answers
Cs6702 graph theory and applications 2 marks questions and answersappasami
 
introduction to graph theory
introduction to graph theoryintroduction to graph theory
introduction to graph theoryChuckie Balbuena
 
Application Of Graph Data Structure
Application Of Graph Data StructureApplication Of Graph Data Structure
Application Of Graph Data StructureGaurang Dobariya
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theoryTech_MX
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first searchHossain Md Shakhawat
 
Graph Traversal Algorithm
Graph Traversal AlgorithmGraph Traversal Algorithm
Graph Traversal Algorithmjyothimonc
 
Graph theory in network system
Graph theory in network systemGraph theory in network system
Graph theory in network systemManikanta satyala
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - GraphMadhu Bala
 

What's hot (20)

Graph theory
Graph  theoryGraph  theory
Graph theory
 
Graphs In Data Structure
Graphs In Data StructureGraphs In Data Structure
Graphs In Data Structure
 
Spanning trees & applications
Spanning trees & applicationsSpanning trees & applications
Spanning trees & applications
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Applications of graphs
Applications of graphsApplications of graphs
Applications of graphs
 
Graphs (Models & Terminology)
Graphs (Models & Terminology)Graphs (Models & Terminology)
Graphs (Models & Terminology)
 
Graph Theory
Graph TheoryGraph Theory
Graph Theory
 
Cs6702 graph theory and applications 2 marks questions and answers
Cs6702 graph theory and applications 2 marks questions and answersCs6702 graph theory and applications 2 marks questions and answers
Cs6702 graph theory and applications 2 marks questions and answers
 
introduction to graph theory
introduction to graph theoryintroduction to graph theory
introduction to graph theory
 
Application Of Graph Data Structure
Application Of Graph Data StructureApplication Of Graph Data Structure
Application Of Graph Data Structure
 
Interesting applications of graph theory
Interesting applications of graph theoryInteresting applications of graph theory
Interesting applications of graph theory
 
Breadth first search and depth first search
Breadth first search and  depth first searchBreadth first search and  depth first search
Breadth first search and depth first search
 
18 Basic Graph Algorithms
18 Basic Graph Algorithms18 Basic Graph Algorithms
18 Basic Graph Algorithms
 
Graph Traversal Algorithm
Graph Traversal AlgorithmGraph Traversal Algorithm
Graph Traversal Algorithm
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Tree traversal techniques
Tree traversal techniquesTree traversal techniques
Tree traversal techniques
 
Data Structures - Lecture 10 [Graphs]
Data Structures - Lecture 10 [Graphs]Data Structures - Lecture 10 [Graphs]
Data Structures - Lecture 10 [Graphs]
 
Graph theory in network system
Graph theory in network systemGraph theory in network system
Graph theory in network system
 
Data structure - Graph
Data structure - GraphData structure - Graph
Data structure - Graph
 

Viewers also liked

Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1 Ali Usman
 
Applications of Discrete Structures
Applications of Discrete StructuresApplications of Discrete Structures
Applications of Discrete Structuresaviban
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics LectureGenie Rose Santos
 
[ACM-ICPC] Bipartite Matching
[ACM-ICPC] Bipartite Matching[ACM-ICPC] Bipartite Matching
[ACM-ICPC] Bipartite MatchingChih-Hsuan Kuo
 
Estrategias Digitales - Octubre 20 de 2016
Estrategias Digitales - Octubre 20 de 2016Estrategias Digitales - Octubre 20 de 2016
Estrategias Digitales - Octubre 20 de 2016SM Digital
 
Lý Thuyết Đồ Thị_Lê Minh Hoàng
Lý Thuyết Đồ Thị_Lê Minh HoàngLý Thuyết Đồ Thị_Lê Minh Hoàng
Lý Thuyết Đồ Thị_Lê Minh HoàngTiêu Cơm
 
Beats by dr. dre Marketing presentation
Beats by dr. dre Marketing presentationBeats by dr. dre Marketing presentation
Beats by dr. dre Marketing presentationArchit Jain
 
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph ColouringGraph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph ColouringSaurabh Kaushik
 
MongoDB Europe 2016 - Graph Operations with MongoDB
MongoDB Europe 2016 - Graph Operations with MongoDBMongoDB Europe 2016 - Graph Operations with MongoDB
MongoDB Europe 2016 - Graph Operations with MongoDBMongoDB
 
Introduction to political science
Introduction to political scienceIntroduction to political science
Introduction to political scienceNoel Jopson
 

Viewers also liked (16)

Discrete Structures. Lecture 1
 Discrete Structures. Lecture 1  Discrete Structures. Lecture 1
Discrete Structures. Lecture 1
 
Connectivity of graph
Connectivity of graphConnectivity of graph
Connectivity of graph
 
Applications of Discrete Structures
Applications of Discrete StructuresApplications of Discrete Structures
Applications of Discrete Structures
 
Discrete Mathematics Lecture
Discrete Mathematics LectureDiscrete Mathematics Lecture
Discrete Mathematics Lecture
 
Skullcandy
SkullcandySkullcandy
Skullcandy
 
[ACM-ICPC] Bipartite Matching
[ACM-ICPC] Bipartite Matching[ACM-ICPC] Bipartite Matching
[ACM-ICPC] Bipartite Matching
 
Skullcandy Report
Skullcandy ReportSkullcandy Report
Skullcandy Report
 
Estrategias Digitales - Octubre 20 de 2016
Estrategias Digitales - Octubre 20 de 2016Estrategias Digitales - Octubre 20 de 2016
Estrategias Digitales - Octubre 20 de 2016
 
Lý Thuyết Đồ Thị_Lê Minh Hoàng
Lý Thuyết Đồ Thị_Lê Minh HoàngLý Thuyết Đồ Thị_Lê Minh Hoàng
Lý Thuyết Đồ Thị_Lê Minh Hoàng
 
Bose Digital Marketing
Bose Digital MarketingBose Digital Marketing
Bose Digital Marketing
 
Beats by dr. dre Marketing presentation
Beats by dr. dre Marketing presentationBeats by dr. dre Marketing presentation
Beats by dr. dre Marketing presentation
 
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph ColouringGraph Theory,Graph Terminologies,Planar Graph & Graph Colouring
Graph Theory,Graph Terminologies,Planar Graph & Graph Colouring
 
MongoDB Europe 2016 - Graph Operations with MongoDB
MongoDB Europe 2016 - Graph Operations with MongoDBMongoDB Europe 2016 - Graph Operations with MongoDB
MongoDB Europe 2016 - Graph Operations with MongoDB
 
Introduction to political science
Introduction to political scienceIntroduction to political science
Introduction to political science
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Beats by Dre
Beats by DreBeats by Dre
Beats by Dre
 

Similar to Discrete Graph Structures

Similar to Discrete Graph Structures (20)

graph theory
graph theorygraph theory
graph theory
 
Graph-theory.ppt
Graph-theory.pptGraph-theory.ppt
Graph-theory.ppt
 
Graph.ppt
Graph.pptGraph.ppt
Graph.ppt
 
Ppt of graph theory
Ppt of graph theoryPpt of graph theory
Ppt of graph theory
 
Graphs.pdf
Graphs.pdfGraphs.pdf
Graphs.pdf
 
1. Graph and Graph Terminologiesimp.pptx
1. Graph and Graph Terminologiesimp.pptx1. Graph and Graph Terminologiesimp.pptx
1. Graph and Graph Terminologiesimp.pptx
 
Elements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptxElements of Graph Theory for IS.pptx
Elements of Graph Theory for IS.pptx
 
graph.ppt
graph.pptgraph.ppt
graph.ppt
 
graph ASS (1).ppt
graph ASS (1).pptgraph ASS (1).ppt
graph ASS (1).ppt
 
Ch08.ppt
Ch08.pptCh08.ppt
Ch08.ppt
 
graph.pptx
graph.pptxgraph.pptx
graph.pptx
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
 
09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf
 
Chap 6 Graph.ppt
Chap 6 Graph.pptChap 6 Graph.ppt
Chap 6 Graph.ppt
 
Fallsem2015 16 cp4194-13-oct-2015_rm01_graphs
Fallsem2015 16 cp4194-13-oct-2015_rm01_graphsFallsem2015 16 cp4194-13-oct-2015_rm01_graphs
Fallsem2015 16 cp4194-13-oct-2015_rm01_graphs
 
Chapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).pptChapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).ppt
 
Graph theory with algorithms and its applications
Graph theory with algorithms and its applicationsGraph theory with algorithms and its applications
Graph theory with algorithms and its applications
 
Graphs
GraphsGraphs
Graphs
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
 
chapter6.PPT
chapter6.PPTchapter6.PPT
chapter6.PPT
 

Recently uploaded

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxheathfieldcps1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...Pooja Nehwal
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...anjaliyadav012327
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphThiyagu K
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docxPoojaSen20
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Celine George
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdfSoniaTolstoy
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Sapana Sha
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...Sapna Thakur
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 

Recently uploaded (20)

The basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptxThe basics of sentences session 2pptx copy.pptx
The basics of sentences session 2pptx copy.pptx
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...Russian Call Girls in Andheri Airport Mumbai WhatsApp  9167673311 💞 Full Nigh...
Russian Call Girls in Andheri Airport Mumbai WhatsApp 9167673311 💞 Full Nigh...
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
JAPAN: ORGANISATION OF PMDA, PHARMACEUTICAL LAWS & REGULATIONS, TYPES OF REGI...
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Z Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot GraphZ Score,T Score, Percential Rank and Box Plot Graph
Z Score,T Score, Percential Rank and Box Plot Graph
 
mini mental status format.docx
mini    mental       status     format.docxmini    mental       status     format.docx
mini mental status format.docx
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdfBASLIQ CURRENT LOOKBOOK  LOOKBOOK(1) (1).pdf
BASLIQ CURRENT LOOKBOOK LOOKBOOK(1) (1).pdf
 
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111Call Girls in Dwarka Mor Delhi Contact Us 9654467111
Call Girls in Dwarka Mor Delhi Contact Us 9654467111
 
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
BAG TECHNIQUE Bag technique-a tool making use of public health bag through wh...
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 

Discrete Graph Structures

  • 2. GRAPH TERMINOLOGIES & SPECIAL TYPE GRAPHS
  • 3. TYPES OF GRAPHS Undirected Graphs Directed Graphs Special Simple Graphs Special Simple Graphs
  • 4. UNDIRECTED GRAPHS The graph in which u and v(vertices) are endpoints of an edge of graph G is called an undirected graph G. U V LOOP
  • 5. DEGREE The number of edges for which vertex is an endpoint. The degree of a vertex v is denoted by deg(v).
  • 6. DEGREE If deg(v) = 0, v is called isolated. If deg(v) = 1, v is called pendant.
  • 7. THE HANDSHAKING THEOREM Let G = (V, E) be an undirected graph with E edges. Then 2|E| = vV deg(v) Note that This applies if even multiple edges and loops are present.
  • 8. EXAMPLE How many edges are there in a graph with 10 vertices each of degree 5? o vV deg(v) = 6·10 = 60 o 2E= vV deg(v) =60 o E=30
  • 9. EXAMPLE How many edges are there in a graph with 9 vertices each of degree 5? o vV deg(v) =5 · 9 = 45 o 2E= vV deg(v) =45 o 2E=45 o E=22.5 o Which is not possible.
  • 10. DIRCTED GRAPHS When (u, v) is an edge of the graph G with directed edges. The vertex u is called the initial vertex of (u, v), and v is called the terminal or end vertex of (u, v). The initial vertex and terminal vertex of a loop are the same.
  • 11. DEGREE The in degree of a vertex v, denoted deg−(v) is the number of edges which terminate at v. Similarly, the out degree of v, denoted deg+(v), is the number of edges which initiate at v. vV deg- (v) = vV deg+ (v)= |E|
  • 12. EXAMPLE • Find the in-degree and out-degree of each vertex in the graph G with directed edges. The Directed Graph G. 12
  • 13. EXAMPLE The in-degrees in G are deg−(a) = 2 deg−(b) = 2 deg−(c) = 3 deg−(d) = 2 deg−(e) = 3 deg−(f ) = 0 The out-degrees in G are deg+(a) = 4 deg+(b) = 1 deg+(c) = 2 deg+(d) = 2 deg+(e) = 3 deg+(f ) = 0
  • 14. SOME SPECIAL SIMPLE GRAPHS There are several classes of simple graphs. 14 Complete graphs Cycles Wheels n-Cubes Bipartite Graphs New Graphs from Old
  • 15. COMPLETE GRAPHS The complete graph on n vertices, denoted by Kn, is the simple graph that contains exactly one edge between each pair of distinct vertices. The Graphs Kn for 1≦ n ≦6.
  • 16. COMPLETE GRAPHS K5 & K6 is important because it is the simplest non-planar graph. It cannot be drawn in a plane with nonintersecting edges.
  • 17. CYCLE The cycle Cn, n  3, consists of n vertices v1, v2, . . ., vn and edges {v1, v2}, {v2, v3 } ,. . . , {vn-1, vn} , and {vn , v1}. The cycles C3, C4, C5, and C6 are displayed below. The Cycles C3, C4, C5, and C6.
  • 18. WHEEL We obtain the wheel Wn when we add an additional vertex to the cycle Cn, for n  3, and connect this new vertex to each of the n vertices in Cn, by new edges. The Wheels W3, W4, W5, and W6. 18
  • 19. N-CUBES Qn is the graph with 2n vertices representing bit strings of length n. An edge exists between two vertices that differ by one bit position. 19
  • 20. EXAMPLE A common way to connect processors in parallel machines. Intel Hypercube.
  • 21. EXAMPLE The n-cube Qn for n = 1, 2, and 3. 21
  • 22. BIPARTITE GRAPH A simple graph G is called bipartite if its vertex set V and be partitioned into two disjoint sets V1 and V2 such that every edge in the graph connects a vertex in V1 and a vertex in V2 . When this condition holds, we call the pair (V1 , V2 ) a bipartition of the vertex set V.
  • 23. BIPARTITE GRAPH  A Star network is a K(1,n) bipartite graph.  V1(n=ODD)  V2(n=EVEN)
  • 24. BIPARTITE GRAPH V1={v1,v3,v5} ; V1={v2,v4,v6} This is the graph of Hexagonal.
  • 26. NEW GRAPHS FROM OLD A sub-graph of a graph G= (V, E) is a graph H =(W, F), where W  V and F  E. A sub-graph H of G is a proper sub-graph of G if H  G . 26
  • 27. NEW GRAPHS FROM OLD The graph G shown below is a sub-graph of K5. A Sub-graph of K5. 27
  • 28. NEW GRAPHS FROM OLD The union of two simple graphs G1= (V1, E1) & G2= (V2, E2) is the simple graph with vertex set V1  V2 and edge set E1  E2 . The union of G1 and G2 is denoted by G1  G2 . 28
  • 29. NEW GRAPHS FROM OLD  The Simple Graphs G1 and G2  Their Union G1∪G2. 29
  • 30. APPLICATION OF SPYCIAL TYPES OF GRAPHS Suppose that there are m employees in a group and j different jobs that need to be done where m  j. Each employee is trained to do one or more of these j jobs. We can use a graph to model employee capabilities. We represent each employee by a vertex and each job by a vertex. For each employee, we include an edge from the vertex representing that employee to the vertices representing all jobs that the employee has been trained to do. 30
  • 31. APPLICATION OF SPYCIAL TYPES OF GRAPHS Note that the vertex set of this graph can be partitioned into two disjoint sets, the set of vertices representing employees and the set of vertices representing jobs, and each edge connects a vertex representing an employee to a vertex representing a job. Consequently, this graph is bipartite.
  • 32. APPLICATION OF SPYCIAL TYPES OF GRAPHS Modeling the Jobs for Which Employees Have Been Trained. To complete the project, we must assign jobs to the employees so that every job has an employee assigned to it and no employee is assigned more than one job. 32