Graph Searching 7 Example of Edge Classification

  Рет қаралды 7,075

Professor Painter

Professor Painter

Күн бұрын

Пікірлер: 7
@Munto-Z
@Munto-Z 22 күн бұрын
Thank you so much, professor. You have no idea how much time you've saved me.
@tvishathakur8947
@tvishathakur8947 Жыл бұрын
This is the best example explanation of DFS according to the edge terminologies!! This channel is too underrated. Thanks a ton prof :D
@iitmotivationwithrahullson5930
@iitmotivationwithrahullson5930 Жыл бұрын
Nyce explanation
@DINGFULU
@DINGFULU 4 ай бұрын
Explain the DFS Edge Classification in a short time, which is pretty good
@saeedbaroody8103
@saeedbaroody8103 10 ай бұрын
i think there is a mistake or something missing, how did he do the jump from q to r? shouldn't be a cross edge from q to r?? Also, q is already visited (marked red) and has a finishing time stamp too, meaning that he shouldn't have jumped from y to q, right? i think that the cross edge should have been from q to r . cross edge can be defined as such, it is the edge that connects a node of one tree to another node of another tree, since the DFS could give us a forest (collection of DFS trees) in a graph that might not be fully connected
@MikeSieko17
@MikeSieko17 11 ай бұрын
im sorry but the way you explained cross edge is not clear at all
@markfanter3810
@markfanter3810 6 ай бұрын
Tree edges - edges found by the exploration Back edges - (u, v) where u is a descendent of v ( in this example, w is a descendent of s in the search) Forward edge - (u, v) where v is a descendent of u ( r, y ) Cross edge is any other edge that doesn't fit these definitions. q has not discovered y, so it cannot be a back edge, and it is obviously not a forward edge, hence it is a cross.
Graph Searching 8   Topological Sort
9:00
Professor Painter
Рет қаралды 2,3 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 189 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 23 МЛН
Farmer narrowly escapes tiger attack
00:20
CTV News
Рет қаралды 12 МЛН
Strongly Connected Components
12:40
EducateYourself
Рет қаралды 102 М.
Breadth First Search - Finding Shortest Paths in Unweighted Graphs
14:23
Mary Elaine Califf
Рет қаралды 47 М.
Breadth First Search (BFS): Visualized and Explained
10:41
Reducible
Рет қаралды 222 М.
Understanding B-Trees: The Data Structure Behind Modern Databases
12:39
Top 5 Most Common Graph Algorithms for Coding Interviews
13:01
How to Find DFS Preorder and DFS Postorder for a Graph
4:27
Michael Huang
Рет қаралды 12 М.
The IMPOSSIBLE Puzzle..
00:55
Stokes Twins
Рет қаралды 189 МЛН