Skip to content

vrom911/DynamicConnectivity

Folders and files

NameName
Last commit message
Last commit date

Latest commit

a17d179 · Jun 24, 2017

History

25 Commits
Jan 14, 2017
Jan 25, 2017
Jan 14, 2017
Jan 29, 2017
Feb 7, 2017
Jan 25, 2017
Jun 24, 2017
Jan 25, 2017
Jan 25, 2017
Jan 25, 2017
Jan 25, 2017

Repository files navigation

Dynamic Connectivity

The project that implements a data structure of the dynamic connectivity in random undirected graph, which supports operations of removal and addition of edges, verification that two vertices are in the same connected component.

  • void link(u, v) – add edge to the graph, operation time is equation
  • void cut(u, v) – delete edge from the graph, the amortized time for a delete operation is equation
  • boolean areConnected(u, v) – query to check whether two vertices are connected by a path, operation time is equation

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Other

Report in russian

Releases

No releases published

Packages

No packages published

Languages