acture
36223b1eaa
refactor(cpp): Remove deprecated 'register' keyword
...
The `register` storage class specifier is a legacy C++ feature that has been
ignored by modern compilers for years. It was officially deprecated in C++11
and removed entirely in the C++17 standard.
This commit removes all instances of `register` from the C++ codebase. This
modernizes the code, improves its clarity, and eliminates compiler warnings
without any impact on performance.
2025-10-21 02:43:04 +08:00
yo123abxd
60b3094178
GPU-based SSSP is added. Return type of BC, CC and k-core are modified.
2024-06-03 09:11:31 +00:00
yizhihenpidehou
78f334fd09
feat: add generate_linkgraph function for both graph and directed graph in c version
2023-04-29 13:29:56 +08:00
yizhihenpidehou
5e6c686dd3
fixed: dis in closeness and betweenness is initialized to INT_MAX, t[i] in segment_tree.cpp is initialized to INT_MAX
2023-04-18 15:28:16 +08:00
gtc
1c61f2dde0
fixed: segeenntation fault in macos and windows
2023-04-18 00:21:38 -05:00
gtc
a6ac7b0b16
remove pbds, instead of segemnt tree
2023-04-17 21:04:36 -05:00
gtc
4698c8325c
feat: add hybrid for pagerank、spfa、cc
2023-03-28 06:46:36 -05:00
yizhihenpidehou
57188a7717
fixed:betweenness_centrality and k_core
2023-03-24 11:12:22 +08:00
yizhihenpidehou
9964be7163
fixed: _get_edges() in cpp
2023-03-23 12:51:27 +08:00
yizhihenpidehou
299908c18f
feat:cpp version for dijkstra、closeness_centrality、betweenness_centrality
2023-03-22 19:23:49 +08:00
yizhihenpidehou
679fe46ae1
feat: k_core in module cores
2023-03-18 19:38:35 +08:00
yizhihenpidehou
dad9a4001f
feat: add cpp_dijkstra_multisource
2023-03-17 16:03:42 +08:00
Calvin
edda057b0d
replace global rec with local rec to support C++ multithreading
2022-10-06 19:36:41 +08:00
Calvin
9a0ec555e0
kruskal mst
2022-09-10 15:56:52 +08:00
yizhihenpidehou
419ce414d6
feat:connected_components;fix:add not_implemented_for directed graph in connected.py and biconnected.py
2022-08-24 19:21:14 +08:00
Chenhao Cui
2e74de828e
pass compilation
2022-08-17 15:03:52 +08:00
Chenhao Cui
e17492c0e5
Merge branch 'hybrid' into pybind11
2022-08-17 14:22:18 +08:00
Calvin
4fea0f0d03
try to use pybind11
2022-08-16 23:45:39 +08:00
Calvin
295df3e289
add py_sum
2022-08-07 16:47:07 +08:00
Calvin
06da896947
fix: degree of graph implement: degree & size
2022-08-07 16:30:17 +08:00
Calvin
f3ce80b7f4
refactor C++ files
2022-08-01 22:14:53 +08:00