Commit Graph

23 Commits

Author SHA1 Message Date
stefiosif
3fa6935b84 Add virtual class for the dynamic reachability algorithms 2022-07-10 15:31:00 +03:00
stefiosif
4a9cbe19f9 Make SCC inherit parent constructor to avoid duplicate code 2022-07-10 13:23:27 +03:00
stefiosif
6b1edfa164 Update final step of decremental scc algorithm 2022-06-29 17:58:52 +03:00
stefiosif
d199b7de17 Add tests for same SCC O(1) query 2022-06-29 17:33:27 +03:00
stefiosif
8d8e6ef831 Change project structure 2022-06-27 22:45:26 +03:00
stefiosif
e488b309c8 Update decremental maintenance of SCC algorithm 2022-06-27 17:45:47 +03:00
stefiosif
de29435933 Add reverse a digraph function and test 2022-06-13 17:04:43 +03:00
stefiosif
1e16e671ea Make RodittyZwick class abstract 2022-06-13 12:57:09 +03:00
stefiosif
cc79737ecc Add roditty and zwick class 2022-06-12 20:33:11 +03:00
stefiosif
4058c3f6fb Make bfs return a digraph since shortest-path in-out trees are directed graphs 2022-06-12 20:32:15 +03:00
stefiosif
2029900035 Update tarjan test cases and add BFS test case 2022-06-12 17:34:52 +03:00
stefiosif
72741a6a5b Make class Graph abstract and make derived classes Digraph and SCC 2022-06-12 00:49:42 +03:00
stefiosif
b5b031db7f Add BFS tree 2022-06-11 19:27:03 +03:00
stefiosif
dfa8e649ee Create variable instead of reference when accessing the stack 2022-06-11 19:17:37 +03:00
stefiosif
89a2a24f50 Add decremental maintenance of SCCs frame 2022-05-17 21:25:47 +03:00
stefiosif
c2c278784b Delete unused methods 2022-05-15 00:39:36 +03:00
stefiosif
8a52c80bc8 Finish Tarjan algorithm and add tests 2022-05-07 17:05:43 +03:00
stefiosif
122d11b189 Add base paper and tarjan's SCC algorithm 2022-05-06 12:25:04 +03:00
stefiosif
adb36adea7 Add core graph member functions 2022-05-02 17:57:04 +03:00
stefiosif
116d8831e2 Update gitignore and add relevant paper 2022-04-25 20:31:06 +03:00
stefiosif
0ab49de690 Add nanobench 2022-04-21 20:29:36 +03:00
stefiosif
550d83bb84 Add doctest 2022-04-21 20:28:11 +03:00
stefiosif
abcaa2662d Add project files. 2022-04-21 20:07:24 +03:00