SlideShare a Scribd company logo
1 of 19
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
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)
BUIDLING DATA STRUCTURE
QUERY OPERATION
m : Number of Edges
n : Number of Vertices
https://github.com/simemon/DAA
THANK YOU

More Related Content

What's hot

Ιστορία της εκπαίδευσης των κοριτσιών στην Ελλάδα
Ιστορία της εκπαίδευσης των κοριτσιών στην ΕλλάδαΙστορία της εκπαίδευσης των κοριτσιών στην Ελλάδα
Ιστορία της εκπαίδευσης των κοριτσιών στην Ελλάδα
1gympyl
 
Aspects of online teaching and learning
Aspects of online teaching and learningAspects of online teaching and learning
Aspects of online teaching and learning
KimRhyne
 
Introduction to e-Assessment
Introduction to e-AssessmentIntroduction to e-Assessment
Introduction to e-Assessment
Jisc Scotland
 
Ethical issues in e-learning
Ethical issues in e-learningEthical issues in e-learning
Ethical issues in e-learning
Soraj Hongladarom
 
διδακτική ιστορίας
διδακτική ιστορίαςδιδακτική ιστορίας
διδακτική ιστορίας
Xyla Eleni
 
Μάλλιος Αλέξανδρος CV_GR
Μάλλιος Αλέξανδρος CV_GRΜάλλιος Αλέξανδρος CV_GR
Μάλλιος Αλέξανδρος CV_GR
ALEX MALLIOS
 

What's hot (20)

Campus Management System
Campus Management SystemCampus Management System
Campus Management System
 
Παρουσίαση διπλωματικής - πτυχιακής εργασίας SBS-Studies
Παρουσίαση διπλωματικής - πτυχιακής εργασίας SBS-StudiesΠαρουσίαση διπλωματικής - πτυχιακής εργασίας SBS-Studies
Παρουσίαση διπλωματικής - πτυχιακής εργασίας SBS-Studies
 
Ιστορία της εκπαίδευσης των κοριτσιών στην Ελλάδα
Ιστορία της εκπαίδευσης των κοριτσιών στην ΕλλάδαΙστορία της εκπαίδευσης των κοριτσιών στην Ελλάδα
Ιστορία της εκπαίδευσης των κοριτσιών στην Ελλάδα
 
WEB 2.0 ΕΡΓΑΛΕΙΑ ΓΙΑ ΤΗΝ ΕΚΠΑΙΔΕΥΣΗ - ΕΠΙΜΟΡΦΩΤΙΚΟ ΠΡΟΓΡΑΜΜΑ - (Β΄ ΚΥΚΛΟΣ)
WEB 2.0 ΕΡΓΑΛΕΙΑ ΓΙΑ ΤΗΝ ΕΚΠΑΙΔΕΥΣΗ - ΕΠΙΜΟΡΦΩΤΙΚΟ ΠΡΟΓΡΑΜΜΑ - (Β΄ ΚΥΚΛΟΣ)WEB 2.0 ΕΡΓΑΛΕΙΑ ΓΙΑ ΤΗΝ ΕΚΠΑΙΔΕΥΣΗ - ΕΠΙΜΟΡΦΩΤΙΚΟ ΠΡΟΓΡΑΜΜΑ - (Β΄ ΚΥΚΛΟΣ)
WEB 2.0 ΕΡΓΑΛΕΙΑ ΓΙΑ ΤΗΝ ΕΚΠΑΙΔΕΥΣΗ - ΕΠΙΜΟΡΦΩΤΙΚΟ ΠΡΟΓΡΑΜΜΑ - (Β΄ ΚΥΚΛΟΣ)
 
Dpep
DpepDpep
Dpep
 
Indian education under colonial rule
Indian education under colonial ruleIndian education under colonial rule
Indian education under colonial rule
 
ΤΣΙΑΟΥΣΗ_Κ.- ΠΑΡΟΥΣΙΑΣΗ ΔΙΠΛΩΜΑΤΙΚΗΣ ΕΡΓΑΣΙΑΣ ΜΕΤΑΠΤΥΧΙΑΚΟΥ
ΤΣΙΑΟΥΣΗ_Κ.- ΠΑΡΟΥΣΙΑΣΗ ΔΙΠΛΩΜΑΤΙΚΗΣ ΕΡΓΑΣΙΑΣ ΜΕΤΑΠΤΥΧΙΑΚΟΥΤΣΙΑΟΥΣΗ_Κ.- ΠΑΡΟΥΣΙΑΣΗ ΔΙΠΛΩΜΑΤΙΚΗΣ ΕΡΓΑΣΙΑΣ ΜΕΤΑΠΤΥΧΙΑΚΟΥ
ΤΣΙΑΟΥΣΗ_Κ.- ΠΑΡΟΥΣΙΑΣΗ ΔΙΠΛΩΜΑΤΙΚΗΣ ΕΡΓΑΣΙΑΣ ΜΕΤΑΠΤΥΧΙΑΚΟΥ
 
Aspects of online teaching and learning
Aspects of online teaching and learningAspects of online teaching and learning
Aspects of online teaching and learning
 
Pros and Cons of virtual class.pptx
Pros and Cons of virtual class.pptxPros and Cons of virtual class.pptx
Pros and Cons of virtual class.pptx
 
Web 2.0 and social media tools
Web 2.0 and social media toolsWeb 2.0 and social media tools
Web 2.0 and social media tools
 
Online computer lab management system
Online computer lab management systemOnline computer lab management system
Online computer lab management system
 
Introduction to e-Assessment
Introduction to e-AssessmentIntroduction to e-Assessment
Introduction to e-Assessment
 
Η παρουσίαση της διπλωματικής μου εργασίας στο ΕΑΠ
Η παρουσίαση της διπλωματικής μου εργασίας στο ΕΑΠΗ παρουσίαση της διπλωματικής μου εργασίας στο ΕΑΠ
Η παρουσίαση της διπλωματικής μου εργασίας στο ΕΑΠ
 
Online Learning Topic Presentation
Online Learning Topic PresentationOnline Learning Topic Presentation
Online Learning Topic Presentation
 
Ethical issues in e-learning
Ethical issues in e-learningEthical issues in e-learning
Ethical issues in e-learning
 
Հայկազունի Երվանդականների Թագավորության Վերականգնումը
Հայկազունի Երվանդականների Թագավորության ՎերականգնումըՀայկազունի Երվանդականների Թագավորության Վերականգնումը
Հայկազունի Երվանդականների Թագավորության Վերականգնումը
 
διδακτική ιστορίας
διδακτική ιστορίαςδιδακτική ιστορίας
διδακτική ιστορίας
 
Online Examination System
Online Examination SystemOnline Examination System
Online Examination System
 
Μάλλιος Αλέξανδρος CV_GR
Μάλλιος Αλέξανδρος CV_GRΜάλλιος Αλέξανδρος CV_GR
Μάλλιος Αλέξανδρος CV_GR
 
Online exam system
Online exam systemOnline exam system
Online exam system
 

Viewers also liked

Priority Lands September 25 2008
Priority Lands September 25 2008Priority Lands September 25 2008
Priority Lands September 25 2008
ecopatriot80
 
TRIES_data_structure
TRIES_data_structureTRIES_data_structure
TRIES_data_structure
ddewithaman10
 
brand building and service marketing at banyan tree hotels and resorts
brand building and service marketing at banyan tree hotels and resortsbrand building and service marketing at banyan tree hotels and resorts
brand building and service marketing at banyan tree hotels and resorts
saurabh
 
23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS
koolkampus
 
Data structures (introduction)
 Data structures (introduction) Data structures (introduction)
Data structures (introduction)
Arvind Devaraj
 

Viewers also liked (20)

K d tree_cpp
K d tree_cppK d tree_cpp
K d tree_cpp
 
TripleTree eDiscovery
TripleTree  eDiscoveryTripleTree  eDiscovery
TripleTree eDiscovery
 
Priority Lands September 25 2008
Priority Lands September 25 2008Priority Lands September 25 2008
Priority Lands September 25 2008
 
Ch15 Heap
Ch15 HeapCh15 Heap
Ch15 Heap
 
Chapter 15
Chapter 15Chapter 15
Chapter 15
 
Segment tree
Segment treeSegment tree
Segment tree
 
Segment tree
Segment treeSegment tree
Segment tree
 
A Parallel Data Distribution Management Algorithm
A Parallel Data Distribution Management AlgorithmA Parallel Data Distribution Management Algorithm
A Parallel Data Distribution Management Algorithm
 
Game Tree ( Oyun Ağaçları )
Game Tree ( Oyun Ağaçları )Game Tree ( Oyun Ağaçları )
Game Tree ( Oyun Ağaçları )
 
Segment tree
Segment treeSegment tree
Segment tree
 
STP
STPSTP
STP
 
数据结构回顾
数据结构回顾数据结构回顾
数据结构回顾
 
TRIES_data_structure
TRIES_data_structureTRIES_data_structure
TRIES_data_structure
 
23 priority queue
23 priority queue23 priority queue
23 priority queue
 
Spanning Tree Bridge Root Priority value & Extended System ID
Spanning Tree Bridge Root Priority value & Extended System IDSpanning Tree Bridge Root Priority value & Extended System ID
Spanning Tree Bridge Root Priority value & Extended System ID
 
brand building and service marketing at banyan tree hotels and resorts
brand building and service marketing at banyan tree hotels and resortsbrand building and service marketing at banyan tree hotels and resorts
brand building and service marketing at banyan tree hotels and resorts
 
Linear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec domsLinear regression and correlation analysis ppt @ bec doms
Linear regression and correlation analysis ppt @ bec doms
 
Introduction to Natural Language Processing
Introduction to Natural Language ProcessingIntroduction to Natural Language Processing
Introduction to Natural Language Processing
 
23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS23. Advanced Datatypes and New Application in DBMS
23. Advanced Datatypes and New Application in DBMS
 
Data structures (introduction)
 Data structures (introduction) Data structures (introduction)
Data structures (introduction)
 

Recently uploaded

Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
BalamuruganV28
 
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
MohammadAliNayeem
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
MaherOthman7
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
Kamal Acharya
 

Recently uploaded (20)

Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas SachpazisSeismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
Seismic Hazard Assessment Software in Python by Prof. Dr. Costas Sachpazis
 
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
RM&IPR M5 notes.pdfResearch Methodolgy & Intellectual Property Rights Series 5
 
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptxSLIDESHARE PPT-DECISION MAKING METHODS.pptx
SLIDESHARE PPT-DECISION MAKING METHODS.pptx
 
Final DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manualFinal DBMS Manual (2).pdf final lab manual
Final DBMS Manual (2).pdf final lab manual
 
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
Complex plane, Modulus, Argument, Graphical representation of a complex numbe...
 
Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..Maher Othman Interior Design Portfolio..
Maher Othman Interior Design Portfolio..
 
Theory for How to calculation capacitor bank
Theory for How to calculation capacitor bankTheory for How to calculation capacitor bank
Theory for How to calculation capacitor bank
 
E-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are presentE-Commerce Shopping using MERN Stack where different modules are present
E-Commerce Shopping using MERN Stack where different modules are present
 
Artificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian ReasoningArtificial Intelligence Bayesian Reasoning
Artificial Intelligence Bayesian Reasoning
 
Electrical shop management system project report.pdf
Electrical shop management system project report.pdfElectrical shop management system project report.pdf
Electrical shop management system project report.pdf
 
Lab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docxLab Manual Arduino UNO Microcontrollar.docx
Lab Manual Arduino UNO Microcontrollar.docx
 
Filters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility ApplicationsFilters for Electromagnetic Compatibility Applications
Filters for Electromagnetic Compatibility Applications
 
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message QueuesLinux Systems Programming: Semaphores, Shared Memory, and Message Queues
Linux Systems Programming: Semaphores, Shared Memory, and Message Queues
 
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
 
Circuit Breaker arc phenomenon.pdf engineering
Circuit Breaker arc phenomenon.pdf engineeringCircuit Breaker arc phenomenon.pdf engineering
Circuit Breaker arc phenomenon.pdf engineering
 
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdfInstruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
Instruct Nirmaana 24-Smart and Lean Construction Through Technology.pdf
 
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdfBURGER ORDERING SYSYTEM PROJECT REPORT..pdf
BURGER ORDERING SYSYTEM PROJECT REPORT..pdf
 
Online crime reporting system project.pdf
Online crime reporting system project.pdfOnline crime reporting system project.pdf
Online crime reporting system project.pdf
 
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
Fabrication Of Automatic Star Delta Starter Using Relay And GSM Module By Utk...
 
Introduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AIIntroduction to Artificial Intelligence and History of AI
Introduction to Artificial Intelligence and History of AI
 

Dynamic DFS in Undirected Graph using Segment Tree