项目作者: vrom911

项目描述 :
:chart_with_upwards_trend: Advanced Data Structures Final Project
高级语言: Java
项目地址: git://github.com/vrom911/DynamicConnectivity.git
创建时间: 2016-12-28T01:49:47Z
项目社区:https://github.com/vrom911/DynamicConnectivity

开源协议:MIT License

下载


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