Commit graph

18 commits

Author SHA1 Message Date
f819f5bf69 Remove adjlist-based path implementation 2024-12-31 13:06:46 +01:00
76abf5ea6e Remove PageIdx and LinkIdx again
I don't think the type safety is worth the effort right now.
2024-08-26 01:29:28 +02:00
17b118693f Add PageIdx::MAX 2024-08-25 22:04:55 +02:00
7a2372fedd Refactor data representation and storage
Mostly moving around code
2024-08-25 21:40:11 +02:00
c612bd35ad Satisfy clippy 2024-08-25 20:30:48 +02:00
1265dd4a41 Move some functions to util 2022-10-23 01:14:31 +02:00
d5f55d2855 Print more stuff 2022-10-22 19:58:19 +02:00
8bb94b1847 Allow redirects to have 0 links 2022-10-22 19:54:08 +02:00
e91a2db1b1 Allow specifying redirects as path start and end 2022-10-22 19:38:27 +02:00
c40153be9f Try out different costs 2022-10-22 19:14:16 +02:00
d99b3d49e0 Refactor changing data 2022-10-22 19:14:03 +02:00
32b72c10c8 Assign redirects a cost of 0 2022-10-22 18:48:42 +02:00
d1a80a6ae6 Print redirects differently 2022-10-22 18:41:47 +02:00
0d4087fdde Detect if no path exists 2022-10-22 18:41:40 +02:00
179e6b74a5 Implement simple dijkstra 2022-10-22 17:14:47 +02:00
8b62ff78bd Prepare dijkstra in path command 2022-10-22 16:23:35 +02:00
67f405a21e Make data representation more flexible 2022-10-22 15:52:07 +02:00
853e09517f Add unfinished path command 2022-10-22 01:21:59 +02:00