SlideShare a Scribd company logo
CMSC 641 – Research Project (Team 10)
Original Paper: Dynamic DFS in Undirected Graphs: breaking the O(m) barrier (SODA’16 Page: 730-739)
Authors: Baswana, Surender ; Chaudhury, Shreejit ; Choudhary, Keerti ; Khan, Shahbaz
Dynamic DFS in Undirected Graph using Segment Tree
m : Number of Edges
n : Number of Vertices
DB
A
C
E
Graph G
DB
A
C
E
DFS tree T
5
2 5
1 2 5 6
0 1 2 3 4 5
18 17 13 19 15 11 20
[0,6]
[4,6]
[4,5]
[6,6]
[0,0] [1,1] [2,2] [3,3] [4,4] [5,5]
[0,3]
[0,1] [2,3]
0 1 2 3 4 5 6
Array
r
w
v
T*
e1’
e1
e2’
e2
C1
C2
C1 & C2 - Connected Components
r
ma
b
f
c
d
e
g
k
l
h
i j
r
ma
b
f
c
d
e
g
k
l
h
i j
Failure of edge (b, f). Partial DFS tree T with unvisited graph T(f), components
property allows us to neglect (a, l).
r
m
a
b
k
c
d
e g
f
lh
i j
r
m
a
b
k
c
d
e g
f
lh
i j
Augmented path(k, f) to T, components property allows us
to neglect (l, k).
Final DFS tree of G{(b, f)}.
DFS Tree
x
u
v
z
y
w
s t
x z w s t y u v List L
x z w s t y u v
(x,s) (z,w) (w,s) (s,w) (t,w)
(z,t) (w,t)
Segment Tree TB
x z w s t y u v
Segment Tree TB
[w-s]
(s,w)
(t,w)(w,s)
(z,w)
(x,s)
BST stored at segment tree node [w-s]
(x,s) (z,w) (w,s) (s,w) (t,w)
Edge-list sorted according to List L
x z w s t y u v List L
Overall Complexity: O(log3n)
x
u
v
z
yw
s
t
Path Vector
Tree Vector
x z w s t y u v List L
Query (T (w), x, y)
Time Complexity : O(log m * log n)
Dynamic DFS in Undirected Graph using Segment Tree
BUIDLING DATA STRUCTURE
QUERY OPERATION
Dynamic DFS in Undirected Graph using Segment Tree
m : Number of Edges
n : Number of Vertices
https://github.com/simemon/DAA
Dynamic DFS in Undirected Graph using Segment Tree
THANK YOU

More Related Content

PPTX
Presentation MSc in CS - Gravos Dimitrios / Γράβος Δημήτριος
PDF
Διαγώνισμα Γ Λυκείου 2020 - 21
PPT
ppt ΠΑΡΟΥΣΙΑΣΗ ΠΤΥΧΙΑΚΗΣ
PDF
Βασικές γνώσεις Γ Λυκείου Μαθηματικά και Στοιχεία Στατιστικής
PPTX
Ερωτηματολόγια με τη χρήση του Διαδικτύου
PPTX
Θεωρία της αυτοαποτελεσματικότητας
PDF
Κεφάλαιο 6: Το Γραφικό Περιβάλλον Επικοινωνίας
PPT
Πολυμέσα
Presentation MSc in CS - Gravos Dimitrios / Γράβος Δημήτριος
Διαγώνισμα Γ Λυκείου 2020 - 21
ppt ΠΑΡΟΥΣΙΑΣΗ ΠΤΥΧΙΑΚΗΣ
Βασικές γνώσεις Γ Λυκείου Μαθηματικά και Στοιχεία Στατιστικής
Ερωτηματολόγια με τη χρήση του Διαδικτύου
Θεωρία της αυτοαποτελεσματικότητας
Κεφάλαιο 6: Το Γραφικό Περιβάλλον Επικοινωνίας
Πολυμέσα

What's hot (20)

PDF
Επιμορφωτικό υλικό ΚΣΕ (Γενικό μέρος)
DOC
ερωτηματολόγιο αξιολόγησης εκπαιδευτικού έργου
PDF
ψηφιακά ηλεκτρονικά κεφ 2
PPT
Αρχεία Φάκελοι
PPT
βιομηχανια σοκολατασ
PDF
Cs a gym_worksheets_20160526
PPTX
1. Βασικές γνώσεις υπολογιστών
PPT
πληροφορική_α_γυμνασίου.ppt
PPT
Γνωρίζω τον υπολογιστή
PDF
Διαγώνισμα β τετραμήνου Β΄ Λυκείου για το 1ο ΓΕΛ Αμαρουσίου
PPTX
Κοινωνικός Εαυτός
PPSX
Η παρουσίαση της διπλωματικής μου εργασίας στο ΕΑΠ
PPTX
Κεφάλαιο 3 - Πολυμέσα
PDF
Πίνακας Πιστοποιημένων Επιμορφωτών Β’ Επιπέδου ΤΠΕ
PDF
ΑΕΠΠ: 10ο Φυλλάδιο Ασκήσεων
PDF
Πέντε ασκήσεις χαρακτηριστικές στο σχήμα Horner
PPTX
ΤΣΙΑΟΥΣΗ_Κ.- ΠΑΡΟΥΣΙΑΣΗ ΔΙΠΛΩΜΑΤΙΚΗΣ ΕΡΓΑΣΙΑΣ ΜΕΤΑΠΤΥΧΙΑΚΟΥ
PDF
Διογένης Κώτσης - Διπλωματική Εργασία
PPTX
Pliroforiki a' gymnasiou - kef. 15.3
PPT
Sxedia mathimatos-pliroforiki-gym
Επιμορφωτικό υλικό ΚΣΕ (Γενικό μέρος)
ερωτηματολόγιο αξιολόγησης εκπαιδευτικού έργου
ψηφιακά ηλεκτρονικά κεφ 2
Αρχεία Φάκελοι
βιομηχανια σοκολατασ
Cs a gym_worksheets_20160526
1. Βασικές γνώσεις υπολογιστών
πληροφορική_α_γυμνασίου.ppt
Γνωρίζω τον υπολογιστή
Διαγώνισμα β τετραμήνου Β΄ Λυκείου για το 1ο ΓΕΛ Αμαρουσίου
Κοινωνικός Εαυτός
Η παρουσίαση της διπλωματικής μου εργασίας στο ΕΑΠ
Κεφάλαιο 3 - Πολυμέσα
Πίνακας Πιστοποιημένων Επιμορφωτών Β’ Επιπέδου ΤΠΕ
ΑΕΠΠ: 10ο Φυλλάδιο Ασκήσεων
Πέντε ασκήσεις χαρακτηριστικές στο σχήμα Horner
ΤΣΙΑΟΥΣΗ_Κ.- ΠΑΡΟΥΣΙΑΣΗ ΔΙΠΛΩΜΑΤΙΚΗΣ ΕΡΓΑΣΙΑΣ ΜΕΤΑΠΤΥΧΙΑΚΟΥ
Διογένης Κώτσης - Διπλωματική Εργασία
Pliroforiki a' gymnasiou - kef. 15.3
Sxedia mathimatos-pliroforiki-gym
Ad

Viewers also liked (19)

PDF
K d tree_cpp
PDF
TripleTree eDiscovery
PPT
Priority Lands September 25 2008
PPT
Ch15 Heap
PPT
Chapter 15
PPT
Segment tree
PPTX
Segment tree
ODP
A Parallel Data Distribution Management Algorithm
PPT
Game Tree ( Oyun Ağaçları )
PPTX
Segment tree
PDF
STP
PPTX
数据结构回顾
PPTX
TRIES_data_structure
PPT
23 priority queue
PPTX
Spanning Tree Bridge Root Priority value & Extended System ID
PPTX
brand building and service marketing at banyan tree hotels and resorts
PPT
Introduction to Natural Language Processing
PPT
23. Advanced Datatypes and New Application in DBMS
PDF
Data structures (introduction)
K d tree_cpp
TripleTree eDiscovery
Priority Lands September 25 2008
Ch15 Heap
Chapter 15
Segment tree
Segment tree
A Parallel Data Distribution Management Algorithm
Game Tree ( Oyun Ağaçları )
Segment tree
STP
数据结构回顾
TRIES_data_structure
23 priority queue
Spanning Tree Bridge Root Priority value & Extended System ID
brand building and service marketing at banyan tree hotels and resorts
Introduction to Natural Language Processing
23. Advanced Datatypes and New Application in DBMS
Data structures (introduction)
Ad

Similar to Dynamic DFS in Undirected Graph using Segment Tree (20)

PPTX
PPTX
DFS_New.pptx
PPTX
Depth First Search (DFS) AI future ppt.pptx
PDF
Bfs dfs
PPTX
distributed depth-first search
PPTX
Data structure note
PPTX
Introduction of Depth First Search with example
PPTX
temp.pptxsusueueuune ueieoekeebhe ejene h
PPTX
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
DOCX
graphin-c1.pnggraphin-c1.txt1 22 3 83 44 5.docx
PDF
DFS ppt.pdf
PPTX
Graph Traversing and Seaching - Data Structure- AIUB.pptx
DOC
BFS, Breadth first search | Search Traversal Algorithm
PDF
PPTX
Sec B Graph traversal.pptx
PPTX
Graph Traversal Algorithms - Depth First Search Traversal
PPTX
Riya Bepari_34700122020_Artificial Intelligence_PEC-IT501B.pptx
PPT
5.3 dyn algo-i
PPTX
Graphs in Data Structure
PPTX
Basic Graph Algorithms Vertex (Node): lk
DFS_New.pptx
Depth First Search (DFS) AI future ppt.pptx
Bfs dfs
distributed depth-first search
Data structure note
Introduction of Depth First Search with example
temp.pptxsusueueuune ueieoekeebhe ejene h
Depth First Search Algorithm in 🧠 DFS in Artificial Intelligence (AI)
graphin-c1.pnggraphin-c1.txt1 22 3 83 44 5.docx
DFS ppt.pdf
Graph Traversing and Seaching - Data Structure- AIUB.pptx
BFS, Breadth first search | Search Traversal Algorithm
Sec B Graph traversal.pptx
Graph Traversal Algorithms - Depth First Search Traversal
Riya Bepari_34700122020_Artificial Intelligence_PEC-IT501B.pptx
5.3 dyn algo-i
Graphs in Data Structure
Basic Graph Algorithms Vertex (Node): lk

Recently uploaded (20)

PDF
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
PPTX
additive manufacturing of ss316l using mig welding
PPTX
OOP with Java - Java Introduction (Basics)
PDF
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
PPTX
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
PPTX
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
PPTX
Welding lecture in detail for understanding
PDF
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
PPTX
Internet of Things (IOT) - A guide to understanding
PDF
Embodied AI: Ushering in the Next Era of Intelligent Systems
PPT
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
PPT
Mechanical Engineering MATERIALS Selection
PPTX
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
PPTX
Geodesy 1.pptx...............................................
PPTX
web development for engineering and engineering
PPTX
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
DOCX
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
PDF
R24 SURVEYING LAB MANUAL for civil enggi
PPTX
Foundation to blockchain - A guide to Blockchain Tech
PDF
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
BMEC211 - INTRODUCTION TO MECHATRONICS-1.pdf
additive manufacturing of ss316l using mig welding
OOP with Java - Java Introduction (Basics)
Enhancing Cyber Defense Against Zero-Day Attacks using Ensemble Neural Networks
Infosys Presentation by1.Riyan Bagwan 2.Samadhan Naiknavare 3.Gaurav Shinde 4...
Engineering Ethics, Safety and Environment [Autosaved] (1).pptx
Welding lecture in detail for understanding
Mohammad Mahdi Farshadian CV - Prospective PhD Student 2026
Internet of Things (IOT) - A guide to understanding
Embodied AI: Ushering in the Next Era of Intelligent Systems
CRASH COURSE IN ALTERNATIVE PLUMBING CLASS
Mechanical Engineering MATERIALS Selection
CARTOGRAPHY AND GEOINFORMATION VISUALIZATION chapter1 NPTE (2).pptx
Geodesy 1.pptx...............................................
web development for engineering and engineering
KTU 2019 -S7-MCN 401 MODULE 2-VINAY.pptx
ASol_English-Language-Literature-Set-1-27-02-2023-converted.docx
R24 SURVEYING LAB MANUAL for civil enggi
Foundation to blockchain - A guide to Blockchain Tech
keyrequirementskkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk

Dynamic DFS in Undirected Graph using Segment Tree