Skip to content

Sujan242/Dynamic-Graphs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The dynamic connectivity problem is the following:
Maintain an undirected graph G so that edges may be inserted an deleted and connectivity queries may be answered efficiently.

Goal: Support these three operations:
● link(u, v): Add in edge {u, v}. The assumption is that u and v are in separate trees.
● cut(u, v): Cut the edge {u, v}. The assumption is that the edge exists in the tree.
● are-connected(u, v): Return whether u and v are connected.

The data structure developed can perform these operations time O(log n) each.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages