CE205 Data Structures¶
Week-5¶
Graph Data Structure and Traversals¶
Download PDF,DOCX, SLIDE, PPTX
Outline¶
- Introduction to Graphs
- Graph Representations
- Graph Traversal
- Water Jug Problem
Introduction to Graphs¶
- Vertex
- Edge
Introduction to Graphs¶
- Undirected Graph
- Directed Graph
- Mixed Graph
Introduction to Graphs¶
- End Vertices or Endpoints
- Origin
- Destination
Introduction to Graphs¶
- Adjacent
- Incident
Introduction to Graphs¶
- Outgoing Edge
- Incoming Edge
Introduction to Graphs¶
- Degree
- Indegree
- Outdegree
Introduction to Graphs¶
- Parallel edges or Multiple edges
- Self-loop
- Simple Graph
- Path
Introduction to Graphs¶
Graph Representations¶
- Adjacency Matrix
- Incidence Matrix
-
Adjacency List
-
Btech Smart Class
- http://www.btechsmartclass.com/data_structures/graph-representations.html
Graph Traversal - DFS¶
- Depth-First Search (DFS)
-
Iterative Deepening Search(IDS) or Iterative Deepening Depth First Search(IDDFS)
-
Btech Smart Class
- http://www.btechsmartclass.com/data_structures/graph-traversal-dfs.html
Graph Traversal - BFS¶
- Breadth-First Search (BFS)
- Btech Smart Class
Graph Traversal - DLS¶
- Depth-limited Search
- Educba
Graph Traversal¶
- Uniform Cost Search
- Geeks for Geeks
Graph Traversal¶
- Bidirectional Search
- Geeks for Geeks
Graph Traversal¶
- Water Jug Problem
- Geeks for Geeks
- Tamu Edu
- Udel Edu
\[ End-Of-Week-5 \]