SlideShare a Scribd company logo
Walk, Path, circuits
Graph Theory, Applications and Combinatorics
Walk
Defined as a finite alternating sequence of vertices and edges beginning
and ending with vertices such that each edge is incident with the vertices
preceding and following it.
A walk in the graph G=(V,E) is a finite sequence of the form
vi0, ej1, vi1, ej2, ……. ejk, vik v2
v3
e2
e4
v1
v6
v4
v5
e1
e3
e5
e6
e7
e8
e9
e10
Walk, Path, circuits
Graph Theory, Applications and Combinatorics
Walk
v2
v3
e2
e4
v1
v6
v4
v5
e1
e3
e5
e6
e7
e8
e9
e10
v2e7v5e8v1e8v5e6v4e5v4 is an open walk
vi0 and vik are the end vertices.
vi0 is the initial vertex and vik is the terminal vertex
K is the length of the walk
Walk, Path, circuits
Graph Theory, Applications and Combinatorics
Walk
v2
v3
e2
e4
v1
v6
v4
v5
e1
e3
e5
e6
e7
e8
e9
e10
v2e7v5e8v1e8v5e6v4e5v4 is an open walk whereas
v4e5v4e3v3e2v2e7v5e6v4 is a closed walk
Walk, Path, circuits
Graph Theory, Applications and Combinatorics
Trail
v2
v3
e2
e4
v1
v6
v4
v5
e1
e3
e5
e6
e7
e8
e9
e10
A walk is a trail if edges of the walk are traversed at most once(vertex
can be repeated)
v1e8v5e9v1e1v2e7v5e6v4e5v4e4v4 is a trail.
Walk, Path, circuits
Graph Theory, Applications and Combinatorics
Path
v2
v3
e2
e4
v1
v6
v4
v5
e1
e3
e5
e6
e7
e8
e9
e10
A trail is a path wherein vertices are visited at most once.
v2e7v5e6v4e3v3 is a path.
A closed trail is a circuit whereas a closed path is a cycle.
v5e7v2e2v3e3v4e4v4e6v5 is a circuit whereas
v5e7v2e2v3e3v4e6v5 is a cycle

More Related Content

Similar to walk.pptx

Similar to walk.pptx (20)

graph.ppt
graph.pptgraph.ppt
graph.ppt
 
Graph representation
Graph representationGraph representation
Graph representation
 
Ppt of graph theory
Ppt of graph theoryPpt of graph theory
Ppt of graph theory
 
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdfClass01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
Class01_Computer_Contest_Level_3_Notes_Sep_07 - Copy.pdf
 
Depth First Search and Breadth First Search
Depth First Search and Breadth First SearchDepth First Search and Breadth First Search
Depth First Search and Breadth First Search
 
Graph ASS DBATU.pptx
Graph ASS DBATU.pptxGraph ASS DBATU.pptx
Graph ASS DBATU.pptx
 
Introduction to Graph Theory
Introduction to Graph TheoryIntroduction to Graph Theory
Introduction to Graph Theory
 
LEC 1.pptx
LEC 1.pptxLEC 1.pptx
LEC 1.pptx
 
Graph theory presentation
Graph theory presentationGraph theory presentation
Graph theory presentation
 
Tn 110 lecture 8
Tn 110 lecture 8Tn 110 lecture 8
Tn 110 lecture 8
 
Chapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).pptChapter 5 Graphs (1).ppt
Chapter 5 Graphs (1).ppt
 
Cs6702 2marks rejinpaul
Cs6702 2marks rejinpaulCs6702 2marks rejinpaul
Cs6702 2marks rejinpaul
 
Cs6702 GCC
Cs6702 GCCCs6702 GCC
Cs6702 GCC
 
graph ASS (1).ppt
graph ASS (1).pptgraph ASS (1).ppt
graph ASS (1).ppt
 
Unit 2: All
Unit 2: AllUnit 2: All
Unit 2: All
 
Sequential and parallel algorithm to find maximum flow on extended mixed netw...
Sequential and parallel algorithm to find maximum flow on extended mixed netw...Sequential and parallel algorithm to find maximum flow on extended mixed netw...
Sequential and parallel algorithm to find maximum flow on extended mixed netw...
 
SEQUENTIAL AND PARALLEL ALGORITHM TO FIND MAXIMUM FLOW ON EXTENDED MIXED NETW...
SEQUENTIAL AND PARALLEL ALGORITHM TO FIND MAXIMUM FLOW ON EXTENDED MIXED NETW...SEQUENTIAL AND PARALLEL ALGORITHM TO FIND MAXIMUM FLOW ON EXTENDED MIXED NETW...
SEQUENTIAL AND PARALLEL ALGORITHM TO FIND MAXIMUM FLOW ON EXTENDED MIXED NETW...
 
Graphs Algorithms
Graphs AlgorithmsGraphs Algorithms
Graphs Algorithms
 
Graphs
GraphsGraphs
Graphs
 
graph.pptx
graph.pptxgraph.pptx
graph.pptx
 

Recently uploaded

School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
Kamal Acharya
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DrGurudutt
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
Kamal Acharya
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
Kamal Acharya
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
Kamal Acharya
 
grop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tthgrop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tth
AmanyaSylus
 

Recently uploaded (20)

Maestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacionMaestro Scripting Language CNC programacion
Maestro Scripting Language CNC programacion
 
School management system project report.pdf
School management system project report.pdfSchool management system project report.pdf
School management system project report.pdf
 
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-4 Notes for II-II Mechanical Engineering
 
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data StreamKIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
KIT-601 Lecture Notes-UNIT-3.pdf Mining Data Stream
 
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdfDR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
DR PROF ING GURUDUTT SAHNI WIKIPEDIA.pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
Online blood donation management system project.pdf
Online blood donation management system project.pdfOnline blood donation management system project.pdf
Online blood donation management system project.pdf
 
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and ClusteringKIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
KIT-601 Lecture Notes-UNIT-4.pdf Frequent Itemsets and Clustering
 
Online book store management system project.pdf
Online book store management system project.pdfOnline book store management system project.pdf
Online book store management system project.pdf
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
An improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technologyAn improvement in the safety of big data using blockchain technology
An improvement in the safety of big data using blockchain technology
 
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdfONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
ONLINE VEHICLE RENTAL SYSTEM PROJECT REPORT.pdf
 
Event Management System Vb Net Project Report.pdf
Event Management System Vb Net  Project Report.pdfEvent Management System Vb Net  Project Report.pdf
Event Management System Vb Net Project Report.pdf
 
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and VisualizationKIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
KIT-601 Lecture Notes-UNIT-5.pdf Frame Works and Visualization
 
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical EngineeringIntroduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
Introduction to Machine Learning Unit-5 Notes for II-II Mechanical Engineering
 
Democratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek AryaDemocratizing Fuzzing at Scale by Abhishek Arya
Democratizing Fuzzing at Scale by Abhishek Arya
 
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
Soil Testing Instruments by aimil ltd.- California Bearing Ratio apparatus, c...
 
Paint shop management system project report.pdf
Paint shop management system project report.pdfPaint shop management system project report.pdf
Paint shop management system project report.pdf
 
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES  INTRODUCTION UNIT-IENERGY STORAGE DEVICES  INTRODUCTION UNIT-I
ENERGY STORAGE DEVICES INTRODUCTION UNIT-I
 
grop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tthgrop material handling.pdf and resarch ethics tth
grop material handling.pdf and resarch ethics tth
 

walk.pptx

  • 1. Walk, Path, circuits Graph Theory, Applications and Combinatorics Walk Defined as a finite alternating sequence of vertices and edges beginning and ending with vertices such that each edge is incident with the vertices preceding and following it. A walk in the graph G=(V,E) is a finite sequence of the form vi0, ej1, vi1, ej2, ……. ejk, vik v2 v3 e2 e4 v1 v6 v4 v5 e1 e3 e5 e6 e7 e8 e9 e10
  • 2. Walk, Path, circuits Graph Theory, Applications and Combinatorics Walk v2 v3 e2 e4 v1 v6 v4 v5 e1 e3 e5 e6 e7 e8 e9 e10 v2e7v5e8v1e8v5e6v4e5v4 is an open walk vi0 and vik are the end vertices. vi0 is the initial vertex and vik is the terminal vertex K is the length of the walk
  • 3. Walk, Path, circuits Graph Theory, Applications and Combinatorics Walk v2 v3 e2 e4 v1 v6 v4 v5 e1 e3 e5 e6 e7 e8 e9 e10 v2e7v5e8v1e8v5e6v4e5v4 is an open walk whereas v4e5v4e3v3e2v2e7v5e6v4 is a closed walk
  • 4. Walk, Path, circuits Graph Theory, Applications and Combinatorics Trail v2 v3 e2 e4 v1 v6 v4 v5 e1 e3 e5 e6 e7 e8 e9 e10 A walk is a trail if edges of the walk are traversed at most once(vertex can be repeated) v1e8v5e9v1e1v2e7v5e6v4e5v4e4v4 is a trail.
  • 5. Walk, Path, circuits Graph Theory, Applications and Combinatorics Path v2 v3 e2 e4 v1 v6 v4 v5 e1 e3 e5 e6 e7 e8 e9 e10 A trail is a path wherein vertices are visited at most once. v2e7v5e6v4e3v3 is a path. A closed trail is a circuit whereas a closed path is a cycle. v5e7v2e2v3e3v4e4v4e6v5 is a circuit whereas v5e7v2e2v3e3v4e6v5 is a cycle